Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / bhi.cgs
bloba92c0c0b3079369fefd0df5eb09544996d24f60e
1 # frv testcase for bhi $ICCi,$hint,$label16
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global bhi
9 bhi:
10         set_icc         0x0 0
11         bhi             icc0,0,ok1
12         fail
13 ok1:
14         set_icc         0x1 1
15         bhi             icc1,1,bad
16         set_icc         0x2 2
17         bhi             icc2,2,ok3
18         fail
19 ok3:
20         set_icc         0x3 3
21         bhi             icc3,3,bad
22         set_icc         0x4 0
23         bhi             icc0,0,bad
24         set_icc         0x5 1
25         bhi             icc1,1,bad
26         set_icc         0x6 2
27         bhi             icc2,2,bad
28         set_icc         0x7 3
29         bhi             icc3,3,bad
30         set_icc         0x8 0
31         bhi             icc0,0,ok9
32         fail
33 ok9:
34         set_icc         0x9 1
35         bhi             icc1,1,bad
36         set_icc         0xa 2
37         bhi             icc2,2,okb
38         fail
39 okb:
40         set_icc         0xb 3
41         bhi             icc3,3,bad
42         set_icc         0xc 0
43         bhi             icc0,0,bad
44         set_icc         0xd 1
45         bhi             icc1,1,bad
46         set_icc         0xe 2
47         bhi             icc2,2,bad
48         set_icc         0xf 3
49         bhi             icc3,3,bad
51         pass
52 bad:
53         fail