Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / nfmsubs.cgs
blob1ae87e36d1fd249b1cac15cd158ddac9886b91ef
1 # frv testcase for nfmsubs $GRi,$GRj,$GRk
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         float_constants
8         start
9         load_float_constants
11         .global nfmsubs
12 nfmsubs:
13         set_fr_fr       fr16,fr1
14         nfmsubs         fr16,fr4,fr1
15         test_fr_fr      fr1,fr16
16         test_fr_fr      fr1,fr20
17         test_spr_immed  0,fner1
18         test_spr_immed  0,fner0
19         nfmsubs         fr16,fr8,fr1
20         test_fr_fr      fr1,fr16
21         test_fr_fr      fr1,fr20
22         test_spr_immed  0,fner1
23         test_spr_immed  0,fner0
24         nfmsubs         fr16,fr12,fr1
25         test_fr_fr      fr1,fr16
26         test_fr_fr      fr1,fr20
27         test_spr_immed  0,fner1
28         test_spr_immed  0,fner0
29         nfmsubs         fr16,fr16,fr1
30         test_fr_fr      fr1,fr16
31         test_fr_fr      fr1,fr20
32         test_spr_immed  0,fner1
33         test_spr_immed  0,fner0
34         nfmsubs         fr16,fr20,fr1
35         test_fr_fr      fr1,fr16
36         test_fr_fr      fr1,fr20
37         test_spr_immed  0,fner1
38         test_spr_immed  0,fner0
39         nfmsubs         fr16,fr24,fr1
40         test_fr_fr      fr1,fr16
41         test_fr_fr      fr1,fr20
42         test_spr_immed  0,fner1
43         test_spr_immed  0,fner0
44         nfmsubs         fr16,fr28,fr1
45         test_fr_fr      fr1,fr16
46         test_fr_fr      fr1,fr20
47         test_spr_immed  0,fner1
48         test_spr_immed  0,fner0
49         nfmsubs         fr16,fr32,fr1
50         test_fr_fr      fr1,fr16
51         test_fr_fr      fr1,fr20
52         test_spr_immed  0,fner1
53         test_spr_immed  0,fner0
54         nfmsubs         fr16,fr36,fr1
55         test_fr_fr      fr1,fr16
56         test_fr_fr      fr1,fr20
57         test_spr_immed  0,fner1
58         test_spr_immed  0,fner0
59         nfmsubs         fr16,fr40,fr1
60         test_fr_fr      fr1,fr16
61         test_fr_fr      fr1,fr20
62         test_spr_immed  0,fner1
63         test_spr_immed  0,fner0
64         nfmsubs         fr16,fr44,fr1
65         test_fr_fr      fr1,fr16
66         test_fr_fr      fr1,fr20
67         test_spr_immed  0,fner1
68         test_spr_immed  0,fner0
69         nfmsubs         fr16,fr48,fr1
70         test_fr_fr      fr1,fr16
71         test_fr_fr      fr1,fr20
72         test_spr_immed  0,fner1
73         test_spr_immed  0,fner0
75         nfmsubs         fr20,fr4,fr1
76         test_fr_fr      fr1,fr16
77         test_fr_fr      fr1,fr20
78         test_spr_immed  0,fner1
79         test_spr_immed  0,fner0
80         nfmsubs         fr20,fr8,fr1
81         test_fr_fr      fr1,fr16
82         test_fr_fr      fr1,fr20
83         test_spr_immed  0,fner1
84         test_spr_immed  0,fner0
85         nfmsubs         fr20,fr12,fr1
86         test_fr_fr      fr1,fr16
87         test_fr_fr      fr1,fr20
88         test_spr_immed  0,fner1
89         test_spr_immed  0,fner0
90         nfmsubs         fr20,fr16,fr1
91         test_fr_fr      fr1,fr16
92         test_fr_fr      fr1,fr20
93         test_spr_immed  0,fner1
94         test_spr_immed  0,fner0
95         nfmsubs         fr20,fr20,fr1
96         test_fr_fr      fr1,fr16
97         test_fr_fr      fr1,fr20
98         test_spr_immed  0,fner1
99         test_spr_immed  0,fner0
100         nfmsubs         fr20,fr24,fr1
101         test_fr_fr      fr1,fr16
102         test_fr_fr      fr1,fr20
103         test_spr_immed  0,fner1
104         test_spr_immed  0,fner0
105         nfmsubs         fr20,fr28,fr1
106         test_fr_fr      fr1,fr16
107         test_fr_fr      fr1,fr20
108         test_spr_immed  0,fner1
109         test_spr_immed  0,fner0
110         nfmsubs         fr20,fr32,fr1
111         test_fr_fr      fr1,fr16
112         test_fr_fr      fr1,fr20
113         test_spr_immed  0,fner1
114         test_spr_immed  0,fner0
115         nfmsubs         fr20,fr36,fr1
116         test_fr_fr      fr1,fr16
117         test_fr_fr      fr1,fr20
118         test_spr_immed  0,fner1
119         test_spr_immed  0,fner0
120         nfmsubs         fr20,fr40,fr1
121         test_fr_fr      fr1,fr16
122         test_fr_fr      fr1,fr20
123         test_spr_immed  0,fner1
124         test_spr_immed  0,fner0
125         nfmsubs         fr20,fr44,fr1
126         test_fr_fr      fr1,fr16
127         test_fr_fr      fr1,fr20
128         test_spr_immed  0,fner1
129         test_spr_immed  0,fner0
130         nfmsubs         fr20,fr48,fr1
131         test_fr_fr      fr1,fr16
132         test_fr_fr      fr1,fr20
133         test_spr_immed  0,fner1
134         test_spr_immed  0,fner0
136         set_fr_fr       fr16,fr1
137         nfmsubs         fr28,fr0,fr1
138         test_fr_fr      fr1,fr0
139         test_spr_immed  0,fner1
140         test_spr_immed  0,fner0
141         set_fr_fr       fr16,fr1
142         nfmsubs         fr28,fr4,fr1
143         test_fr_fr      fr1,fr4
144         test_spr_immed  0,fner1
145         test_spr_immed  0,fner0
146         set_fr_fr       fr16,fr1
147         nfmsubs         fr28,fr8,fr1
148         test_fr_fr      fr1,fr8
149         test_spr_immed  0,fner1
150         test_spr_immed  0,fner0
151         set_fr_fr       fr16,fr1
152         nfmsubs         fr28,fr12,fr1
153         test_fr_fr      fr1,fr12
154         test_spr_immed  0,fner1
155         test_spr_immed  0,fner0
156         set_fr_fr       fr16,fr1
157         nfmsubs         fr28,fr16,fr1
158         test_fr_fr      fr1,fr16
159         test_fr_fr      fr1,fr20
160         test_spr_immed  0,fner1
161         test_spr_immed  0,fner0
162         set_fr_fr       fr16,fr1
163         nfmsubs         fr28,fr20,fr1
164         test_fr_fr      fr1,fr16
165         test_fr_fr      fr1,fr20
166         test_spr_immed  0,fner1
167         test_spr_immed  0,fner0
168         set_fr_fr       fr16,fr1
169         nfmsubs         fr28,fr24,fr1
170         test_fr_fr      fr1,fr24
171         test_spr_immed  0,fner1
172         test_spr_immed  0,fner0
173         set_fr_fr       fr16,fr1
174         nfmsubs         fr28,fr28,fr1
175         test_fr_fr      fr1,fr28
176         test_spr_immed  0,fner1
177         test_spr_immed  0,fner0
178         set_fr_fr       fr16,fr1
179         nfmsubs         fr28,fr32,fr1
180         test_fr_fr      fr1,fr32
181         test_spr_immed  0,fner1
182         test_spr_immed  0,fner0
183         set_fr_fr       fr16,fr1
184         nfmsubs         fr28,fr36,fr1
185         test_fr_fr      fr1,fr36
186         test_spr_immed  0,fner1
187         test_spr_immed  0,fner0
188         set_fr_fr       fr16,fr1
189         nfmsubs         fr28,fr40,fr1
190         test_fr_fr      fr1,fr40
191         test_spr_immed  0,fner1
192         test_spr_immed  0,fner0
193         set_fr_fr       fr16,fr1
194         nfmsubs         fr28,fr44,fr1
195         test_fr_fr      fr1,fr44
196         test_spr_immed  0,fner1
197         test_spr_immed  0,fner0
198         set_fr_fr       fr16,fr1
199         nfmsubs         fr28,fr48,fr1
200         test_fr_fr      fr1,fr48
201         test_spr_immed  0,fner1
202         test_spr_immed  0,fner0
203         set_fr_fr       fr16,fr1
204         nfmsubs         fr28,fr52,fr1
205         test_fr_fr      fr1,fr52
206         test_spr_immed  0,fner1
207         test_spr_immed  0,fner0
209         set_fr_fr       fr32,fr1
210         nfmsubs         fr8,fr8,fr1
211         test_fr_fr      fr1,fr8
212         test_spr_immed  0,fner1
213         test_spr_immed  0,fner0
214         set_fr_fr       fr36,fr1
215         nfmsubs         fr36,fr36,fr1
216         test_fr_fr      fr1,fr40
217         test_spr_immed  0,fner1
218         test_spr_immed  0,fner0
220         nfmsubs         fr32,fr36,fr1
221         test_fr_fr      fr1,fr16
222         test_fr_fr      fr1,fr20
223         test_spr_immed  0,fner1
224         test_spr_immed  0,fner0
226         ; TODO test cases to set ne flags
227         pass