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/] [media/] [bge.cgs] - Blame information for rev 280

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for bge$likely $rm, $rn, $tra -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
 
10
        .global bge
11
init:
12
        pta bge2, tr0
13
        pta bge3, tr1
14
        pta wrong, tr2
15
        movi 0, r0
16
 
17
bge1:
18
        # Compare r0 with itself.
19
        bge/l r0, r0, tr0
20
        # We should branch here.
21
        fail
22
 
23
bge2:
24
        movi 1, r1
25
        movi 1, r2
26
        bge r1, r2, tr1
27
        # We should branch here.
28
        fail
29
 
30
bge3:
31
        movi -1, r1
32
        movi 1, r2
33
        bge r1, r2, tr2
34
        # We should not branch here.
35
 
36
okay:
37
        pass
38
 
39
wrong:
40
        fail

powered by: WebSVN 2.1.0

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