OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [rotcl.cgs] - Diff between revs 24 and 157

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 24 Rev 157
# sh testcase for rotcl $rn -*- Asm -*-
# sh testcase for rotcl $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 rotcl
        .global rotcl
rotcl:
rotcl:
        clrt
        clrt
        mov #1, r1
        mov #1, r1
        rotcl r1
        rotcl r1
        assert r1, #2
        assert r1, #2
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #4
        assert r1, #4
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #8
        assert r1, #8
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #16
        assert r1, #16
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #32
        assert r1, #32
        clrt
        clrt
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        bf wrong
        bf wrong
        rotcl r1
        rotcl r1
        assert r1, #1
        assert r1, #1
        bra trotcl
        bra trotcl
        nop
        nop
wrong:
wrong:
        fail
        fail
trotcl:
trotcl:
        sett
        sett
        mov #1, r1
        mov #1, r1
        rotcl r1
        rotcl r1
        assert r1, #3
        assert r1, #3
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #6
        assert r1, #6
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #12
        assert r1, #12
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #24
        assert r1, #24
        clrt
        clrt
        rotcl r1
        rotcl r1
        assert r1, #48
        assert r1, #48
        clrt
        clrt
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
        bf wrong2
        bf wrong2
        assert r1, #1
        assert r1, #1
        rotcl r1
        rotcl r1
        rotcl r1
        rotcl r1
okay:
okay:
        pass
        pass
wrong2:
wrong2:
        fail
        fail
 
 

powered by: WebSVN 2.1.0

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