OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [shll16.cgs] - Diff between revs 24 and 157

Only display areas with differences | Details | Blame | View Log

Rev 24 Rev 157
# sh testcase for shll16 $rn -*- Asm -*-
# sh testcase for shll16 $rn -*- Asm -*-
# mach: all
# mach: all
# as: -isa=shcompact
# as: -isa=shcompact
# ld: -m shelf32
# ld: -m shelf32
        .include "compact/testutils.inc"
        .include "compact/testutils.inc"
        start
        start
        .global shll16
        .global shll16
shll16:
shll16:
        mov #108, r1
        mov #108, r1
        shll16 r1
        shll16 r1
        shll16 r1
        shll16 r1
        assert r1, #0
        assert r1, #0
another:
another:
        mov #1, r1
        mov #1, r1
        shll16 r1
        shll16 r1
        mov #1, r7
        mov #1, r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        shll r7
        cmp/eq r1, r7
        cmp/eq r1, r7
        bf wrong
        bf wrong
okay:
okay:
        pass
        pass
wrong:
wrong:
        fail
        fail
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.