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

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

Rev 24 Rev 157
# sh testcase for rotcr $rn -*- Asm -*-
# sh testcase for rotcr $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 rotcr
        .global rotcr
rotcr:
rotcr:
        clrt
        clrt
        mov #1, r1
        mov #1, r1
        rotcr r1
        rotcr r1
        bf wrong
        bf wrong
        assert r1, #0
        assert r1, #0
        sett
        sett
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        assert r1, #1
        assert r1, #1
        rotcr r1
        rotcr r1
        bf wrong
        bf wrong
trotcr:
trotcr:
        sett
        sett
        mov #1, r1
        mov #1, r1
        rotcr r1
        rotcr r1
        bf wrong
        bf wrong
        sett
        sett
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        rotcr r1
        bf wrong
        bf wrong
        assert r1, #1
        assert r1, #1
        rotcr r1
        rotcr r1
        bf wrong
        bf wrong
        rotcr r1
        rotcr r1
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.