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