Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / cmovgfd.cgs
blob67bb2728508b2a0bca7fc65234c0cf1f7a140496
1 # frv testcase for cmovgfd $GRj,$FRk,$CCi,$cond
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global cmovgfd
9 cmovgfd:
10         set_spr_immed   0x1b1b,cccr
12         set_gr_limmed   0xdead,0xbeef,gr8
13         set_gr_limmed   0xbeef,0xdead,gr9
14         set_fr_iimmed   0,0,fr8
15         set_fr_iimmed   0,0,fr9
16         cmovgfd         gr8,fr8,cc0,1
17         test_gr_limmed  0xdead,0xbeef,gr8
18         test_gr_limmed  0xbeef,0xdead,gr9
19         test_fr_limmed  0xdead,0xbeef,fr8
20         test_fr_limmed  0xbeef,0xdead,fr9
22         set_gr_limmed   0xdead,0xbeef,gr8
23         set_gr_limmed   0xbeef,0xdead,gr9
24         set_fr_iimmed   0,0,fr8
25         set_fr_iimmed   0,0,fr9
26         cmovgfd         gr8,fr8,cc4,1
27         test_gr_limmed  0xdead,0xbeef,gr8
28         test_gr_limmed  0xbeef,0xdead,gr9
29         test_fr_limmed  0xdead,0xbeef,fr8
30         test_fr_limmed  0xbeef,0xdead,fr9
32         set_gr_limmed   0xdead,0xbeef,gr8
33         set_gr_limmed   0xbeef,0xdead,gr9
34         set_fr_iimmed   0,0,fr8
35         set_fr_iimmed   0,0,fr9
36         cmovgfd         gr8,fr8,cc0,0
37         test_gr_limmed  0xdead,0xbeef,gr8
38         test_gr_limmed  0xbeef,0xdead,gr9
39         test_fr_limmed  0,0,fr8
40         test_fr_limmed  0,0,fr9
42         set_gr_limmed   0xdead,0xbeef,gr8
43         set_gr_limmed   0xbeef,0xdead,gr9
44         set_fr_iimmed   0,0,fr8
45         set_fr_iimmed   0,0,fr9
46         cmovgfd         gr8,fr8,cc4,0
47         test_gr_limmed  0xdead,0xbeef,gr8
48         test_gr_limmed  0xbeef,0xdead,gr9
49         test_fr_limmed  0,0,fr8
50         test_fr_limmed  0,0,fr9
52         set_gr_limmed   0xdead,0xbeef,gr8
53         set_gr_limmed   0xbeef,0xdead,gr9
54         set_fr_iimmed   0,0,fr8
55         set_fr_iimmed   0,0,fr9
56         cmovgfd         gr8,fr8,cc1,0
57         test_gr_limmed  0xdead,0xbeef,gr8
58         test_gr_limmed  0xbeef,0xdead,gr9
59         test_fr_limmed  0xdead,0xbeef,fr8
60         test_fr_limmed  0xbeef,0xdead,fr9
62         set_gr_limmed   0xdead,0xbeef,gr8
63         set_gr_limmed   0xbeef,0xdead,gr9
64         set_fr_iimmed   0,0,fr8
65         set_fr_iimmed   0,0,fr9
66         cmovgfd         gr8,fr8,cc5,0
67         test_gr_limmed  0xdead,0xbeef,gr8
68         test_gr_limmed  0xbeef,0xdead,gr9
69         test_fr_limmed  0xdead,0xbeef,fr8
70         test_fr_limmed  0xbeef,0xdead,fr9
72         set_gr_limmed   0xdead,0xbeef,gr8
73         set_gr_limmed   0xbeef,0xdead,gr9
74         set_fr_iimmed   0,0,fr8
75         set_fr_iimmed   0,0,fr9
76         cmovgfd         gr8,fr8,cc1,1
77         test_gr_limmed  0xdead,0xbeef,gr8
78         test_gr_limmed  0xbeef,0xdead,gr9
79         test_fr_limmed  0,0,fr8
80         test_fr_limmed  0,0,fr9
82         set_gr_limmed   0xdead,0xbeef,gr8
83         set_gr_limmed   0xbeef,0xdead,gr9
84         set_fr_iimmed   0,0,fr8
85         set_fr_iimmed   0,0,fr9
86         cmovgfd         gr8,fr8,cc5,1
87         test_gr_limmed  0xdead,0xbeef,gr8
88         test_gr_limmed  0xbeef,0xdead,gr9
89         test_fr_limmed  0,0,fr8
90         test_fr_limmed  0,0,fr9
92         set_gr_limmed   0xdead,0xbeef,gr8
93         set_gr_limmed   0xbeef,0xdead,gr9
94         set_fr_iimmed   0,0,fr8
95         set_fr_iimmed   0,0,fr9
96         cmovgfd         gr8,fr8,cc2,0
97         test_gr_limmed  0xdead,0xbeef,gr8
98         test_gr_limmed  0xbeef,0xdead,gr9
99         test_fr_limmed  0,0,fr8
100         test_fr_limmed  0,0,fr9
102         set_gr_limmed   0xdead,0xbeef,gr8
103         set_gr_limmed   0xbeef,0xdead,gr9
104         set_fr_iimmed   0,0,fr8
105         set_fr_iimmed   0,0,fr9
106         cmovgfd         gr8,fr8,cc6,1
107         test_gr_limmed  0xdead,0xbeef,gr8
108         test_gr_limmed  0xbeef,0xdead,gr9
109         test_fr_limmed  0,0,fr8
110         test_fr_limmed  0,0,fr9
112         set_gr_limmed   0xdead,0xbeef,gr8
113         set_gr_limmed   0xbeef,0xdead,gr9
114         set_fr_iimmed   0,0,fr8
115         set_fr_iimmed   0,0,fr9
116         cmovgfd         gr8,fr8,cc3,1
117         test_gr_limmed  0xdead,0xbeef,gr8
118         test_gr_limmed  0xbeef,0xdead,gr9
119         test_fr_limmed  0,0,fr8
120         test_fr_limmed  0,0,fr9
122         set_gr_limmed   0xdead,0xbeef,gr8
123         set_gr_limmed   0xbeef,0xdead,gr9
124         set_fr_iimmed   0,0,fr8
125         set_fr_iimmed   0,0,fr9
126         cmovgfd         gr8,fr8,cc7,0
127         test_gr_limmed  0xdead,0xbeef,gr8
128         test_gr_limmed  0xbeef,0xdead,gr9
129         test_fr_limmed  0,0,fr8
130         test_fr_limmed  0,0,fr9
132         pass