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