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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [bge.cgs] - Rev 227

Compare with Previous | Blame | View Log

# sh testcase for bge$likely $rm, $rn, $tra -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

        .include "media/testutils.inc"

        start

        .global bge
init:
        pta bge2, tr0
        pta bge3, tr1
        pta wrong, tr2
        movi 0, r0
        
bge1:
        # Compare r0 with itself.
        bge/l r0, r0, tr0
        # We should branch here.
        fail

bge2:
        movi 1, r1
        movi 1, r2
        bge r1, r2, tr1
        # We should branch here.
        fail

bge3:
        movi -1, r1
        movi 1, r2
        bge r1, r2, tr2
        # We should not branch here.

okay:
        pass

wrong:
        fail

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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