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