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