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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [cr16/] [sge.cgs] - Diff between revs 835 and 841

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

Rev 835 Rev 841
# cr16 testcase for sge reg
# cr16 testcase for sge reg
# mach(): cr16
# mach(): cr16
        .include "testutils.inc"
        .include "testutils.inc"
        start
        start
        .global sge
        .global sge
sge:
sge:
        mvi_h_condbit 0
        mvi_h_condbit 0
        movw $2, r4
        movw $2, r4
        movw $1, r5
        movw $1, r5
        cmpw r4, r5
        cmpw r4, r5
        sge r3
        sge r3
        cmpw $1, r3
        cmpw $1, r3
        beq ok
        beq ok
not_ok:
not_ok:
        fail
        fail
ok:
ok:
        pass
        pass
 
 

powered by: WebSVN 2.1.0

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