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/] [shll2.cgs] - Diff between revs 24 and 157

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

Rev 24 Rev 157
# sh testcase for shll2 $rn -*- Asm -*-
# sh testcase for shll2 $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 shll2
        .global shll2
shll2:
shll2:
        mov #1, r1
        mov #1, r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        shll2 r1
        assert r1, #0
        assert r1, #0
another:
another:
        mov #1, r1
        mov #1, r1
        shll2 r1
        shll2 r1
        assert r1, #4
        assert r1, #4
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.