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