This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / media / bge.cgs
1 # 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
This page took 0.032182 seconds and 5 git commands to generate.