Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / cfadds.cgs
blob158ac9304559269dffe312fa768953e402e6c6fb
1 # frv testcase for cfadds $FRi,$FRj,$FRk,$CCi,$cond
2 # mach: fr500 fr550 frv
4         .include "testutils.inc"
6         float_constants
7         start
8         load_float_constants
10         .global cfadds
11 cfadds:
12         set_spr_immed   0x1b1b,cccr
14         cfadds          fr16,fr0,fr1,cc0,1
15         test_fr_fr      fr1,fr0
16         cfadds          fr16,fr4,fr1,cc0,1
17         test_fr_fr      fr1,fr4
18         cfadds          fr16,fr8,fr1,cc0,1
19         test_fr_fr      fr1,fr8
20         cfadds          fr16,fr12,fr1,cc0,1
21         test_fr_fr      fr1,fr12
22         cfadds          fr16,fr16,fr1,cc0,1
23         test_fr_fr      fr1,fr16
24         test_fr_fr      fr1,fr20
25         cfadds          fr16,fr20,fr1,cc0,1
26         test_fr_fr      fr1,fr16
27         test_fr_fr      fr1,fr20
28         cfadds          fr16,fr24,fr1,cc0,1
29         test_fr_fr      fr1,fr24
30         cfadds          fr16,fr28,fr1,cc0,1
31         test_fr_fr      fr1,fr28
32         cfadds          fr16,fr32,fr1,cc0,1
33         test_fr_fr      fr1,fr32
34         cfadds          fr16,fr36,fr1,cc0,1
35         test_fr_fr      fr1,fr36
36         cfadds          fr16,fr40,fr1,cc0,1
37         test_fr_fr      fr1,fr40
38         cfadds          fr16,fr44,fr1,cc0,1
39         test_fr_fr      fr1,fr44
40         cfadds          fr16,fr48,fr1,cc0,1
41         test_fr_fr      fr1,fr48
42         cfadds          fr16,fr52,fr1,cc0,1
43         test_fr_fr      fr1,fr52
45         cfadds          fr20,fr0,fr1,cc0,1
46         test_fr_fr      fr1,fr0
47         cfadds          fr20,fr4,fr1,cc0,1
48         test_fr_fr      fr1,fr4
49         cfadds          fr20,fr8,fr1,cc4,1
50         test_fr_fr      fr1,fr8
51         cfadds          fr20,fr12,fr1,cc4,1
52         test_fr_fr      fr1,fr12
53         cfadds          fr20,fr16,fr1,cc4,1
54         test_fr_fr      fr1,fr16
55         test_fr_fr      fr1,fr20
56         cfadds          fr20,fr20,fr1,cc4,1
57         test_fr_fr      fr1,fr16
58         test_fr_fr      fr1,fr20
59         cfadds          fr20,fr24,fr1,cc4,1
60         test_fr_fr      fr1,fr24
61         cfadds          fr20,fr28,fr1,cc4,1
62         test_fr_fr      fr1,fr28
63         cfadds          fr20,fr32,fr1,cc4,1
64         test_fr_fr      fr1,fr32
65         cfadds          fr20,fr36,fr1,cc4,1
66         test_fr_fr      fr1,fr36
67         cfadds          fr20,fr40,fr1,cc4,1
68         test_fr_fr      fr1,fr40
69         cfadds          fr20,fr44,fr1,cc4,1
70         test_fr_fr      fr1,fr44
71         cfadds          fr20,fr48,fr1,cc4,1
72         test_fr_fr      fr1,fr48
73         cfadds          fr20,fr52,fr1,cc4,1
74         test_fr_fr      fr1,fr52
76         cfadds          fr8,fr28,fr1,cc4,1
77         test_fr_fr      fr1,fr16
78         test_fr_fr      fr1,fr20
79         cfadds          fr12,fr24,fr1,cc4,1
80         test_fr_fr      fr1,fr16
81         test_fr_fr      fr1,fr20
82         cfadds          fr24,fr12,fr1,cc4,1
83         test_fr_fr      fr1,fr16
84         test_fr_fr      fr1,fr20
85         cfadds          fr28,fr8,fr1,cc4,1
86         test_fr_fr      fr1,fr16
87         test_fr_fr      fr1,fr20
89         cfadds          fr36,fr40,fr1,cc4,1
90         test_fr_fr      fr1,fr44
92         cfadds          fr16,fr0,fr1,cc1,0
93         test_fr_fr      fr1,fr0
94         cfadds          fr16,fr4,fr1,cc1,0
95         test_fr_fr      fr1,fr4
96         cfadds          fr16,fr8,fr1,cc1,0
97         test_fr_fr      fr1,fr8
98         cfadds          fr16,fr12,fr1,cc1,0
99         test_fr_fr      fr1,fr12
100         cfadds          fr16,fr16,fr1,cc1,0
101         test_fr_fr      fr1,fr16
102         test_fr_fr      fr1,fr20
103         cfadds          fr16,fr20,fr1,cc1,0
104         test_fr_fr      fr1,fr16
105         test_fr_fr      fr1,fr20
106         cfadds          fr16,fr24,fr1,cc1,0
107         test_fr_fr      fr1,fr24
108         cfadds          fr16,fr28,fr1,cc1,0
109         test_fr_fr      fr1,fr28
110         cfadds          fr16,fr32,fr1,cc1,0
111         test_fr_fr      fr1,fr32
112         cfadds          fr16,fr36,fr1,cc1,0
113         test_fr_fr      fr1,fr36
114         cfadds          fr16,fr40,fr1,cc1,0
115         test_fr_fr      fr1,fr40
116         cfadds          fr16,fr44,fr1,cc1,0
117         test_fr_fr      fr1,fr44
118         cfadds          fr16,fr48,fr1,cc1,0
119         test_fr_fr      fr1,fr48
120         cfadds          fr16,fr52,fr1,cc1,0
121         test_fr_fr      fr1,fr52
123         cfadds          fr20,fr0,fr1,cc1,0
124         test_fr_fr      fr1,fr0
125         cfadds          fr20,fr4,fr1,cc1,0
126         test_fr_fr      fr1,fr4
127         cfadds          fr20,fr8,fr1,cc5,0
128         test_fr_fr      fr1,fr8
129         cfadds          fr20,fr12,fr1,cc5,0
130         test_fr_fr      fr1,fr12
131         cfadds          fr20,fr16,fr1,cc5,0
132         test_fr_fr      fr1,fr16
133         test_fr_fr      fr1,fr20
134         cfadds          fr20,fr20,fr1,cc5,0
135         test_fr_fr      fr1,fr16
136         test_fr_fr      fr1,fr20
137         cfadds          fr20,fr24,fr1,cc5,0
138         test_fr_fr      fr1,fr24
139         cfadds          fr20,fr28,fr1,cc5,0
140         test_fr_fr      fr1,fr28
141         cfadds          fr20,fr32,fr1,cc5,0
142         test_fr_fr      fr1,fr32
143         cfadds          fr20,fr36,fr1,cc5,0
144         test_fr_fr      fr1,fr36
145         cfadds          fr20,fr40,fr1,cc5,0
146         test_fr_fr      fr1,fr40
147         cfadds          fr20,fr44,fr1,cc5,0
148         test_fr_fr      fr1,fr44
149         cfadds          fr20,fr48,fr1,cc5,0
150         test_fr_fr      fr1,fr48
151         cfadds          fr20,fr52,fr1,cc5,0
152         test_fr_fr      fr1,fr52
154         cfadds          fr8,fr28,fr1,cc5,0
155         test_fr_fr      fr1,fr16
156         test_fr_fr      fr1,fr20
157         cfadds          fr12,fr24,fr1,cc5,0
158         test_fr_fr      fr1,fr16
159         test_fr_fr      fr1,fr20
160         cfadds          fr24,fr12,fr1,cc5,0
161         test_fr_fr      fr1,fr16
162         test_fr_fr      fr1,fr20
163         cfadds          fr28,fr8,fr1,cc5,0
164         test_fr_fr      fr1,fr16
165         test_fr_fr      fr1,fr20
167         cfadds          fr36,fr40,fr1,cc5,0
168         test_fr_fr      fr1,fr44
170         set_fr_iimmed   0xdead,0xbeef,fr1
171         cfadds          fr16,fr0,fr1,cc0,0
172         test_fr_iimmed  0xdeadbeef,fr1
173         cfadds          fr16,fr4,fr1,cc0,0
174         test_fr_iimmed  0xdeadbeef,fr1
175         cfadds          fr16,fr8,fr1,cc0,0
176         test_fr_iimmed  0xdeadbeef,fr1
177         cfadds          fr16,fr12,fr1,cc0,0
178         test_fr_iimmed  0xdeadbeef,fr1
179         cfadds          fr16,fr16,fr1,cc0,0
180         test_fr_iimmed  0xdeadbeef,fr1
181         cfadds          fr16,fr20,fr1,cc0,0
182         test_fr_iimmed  0xdeadbeef,fr1
183         cfadds          fr16,fr24,fr1,cc0,0
184         test_fr_iimmed  0xdeadbeef,fr1
185         cfadds          fr16,fr28,fr1,cc0,0
186         test_fr_iimmed  0xdeadbeef,fr1
187         cfadds          fr16,fr32,fr1,cc0,0
188         test_fr_iimmed  0xdeadbeef,fr1
189         cfadds          fr16,fr36,fr1,cc0,0
190         test_fr_iimmed  0xdeadbeef,fr1
191         cfadds          fr16,fr40,fr1,cc0,0
192         test_fr_iimmed  0xdeadbeef,fr1
193         cfadds          fr16,fr44,fr1,cc0,0
194         test_fr_iimmed  0xdeadbeef,fr1
195         cfadds          fr16,fr48,fr1,cc0,0
196         test_fr_iimmed  0xdeadbeef,fr1
197         cfadds          fr16,fr52,fr1,cc0,0
198         test_fr_iimmed  0xdeadbeef,fr1
200         cfadds          fr20,fr0,fr1,cc0,0
201         test_fr_iimmed  0xdeadbeef,fr1
202         cfadds          fr20,fr4,fr1,cc0,0
203         test_fr_iimmed  0xdeadbeef,fr1
204         cfadds          fr20,fr8,fr1,cc4,0
205         test_fr_iimmed  0xdeadbeef,fr1
206         cfadds          fr20,fr12,fr1,cc4,0
207         test_fr_iimmed  0xdeadbeef,fr1
208         cfadds          fr20,fr16,fr1,cc4,0
209         test_fr_iimmed  0xdeadbeef,fr1
210         cfadds          fr20,fr20,fr1,cc4,0
211         test_fr_iimmed  0xdeadbeef,fr1
212         cfadds          fr20,fr24,fr1,cc4,0
213         test_fr_iimmed  0xdeadbeef,fr1
214         cfadds          fr20,fr28,fr1,cc4,0
215         test_fr_iimmed  0xdeadbeef,fr1
216         cfadds          fr20,fr32,fr1,cc4,0
217         test_fr_iimmed  0xdeadbeef,fr1
218         cfadds          fr20,fr36,fr1,cc4,0
219         test_fr_iimmed  0xdeadbeef,fr1
220         cfadds          fr20,fr40,fr1,cc4,0
221         test_fr_iimmed  0xdeadbeef,fr1
222         cfadds          fr20,fr44,fr1,cc4,0
223         test_fr_iimmed  0xdeadbeef,fr1
224         cfadds          fr20,fr48,fr1,cc4,0
225         test_fr_iimmed  0xdeadbeef,fr1
226         cfadds          fr20,fr52,fr1,cc4,0
227         test_fr_iimmed  0xdeadbeef,fr1
229         cfadds          fr8,fr28,fr1,cc4,0
230         test_fr_iimmed  0xdeadbeef,fr1
231         cfadds          fr12,fr24,fr1,cc4,0
232         test_fr_iimmed  0xdeadbeef,fr1
233         cfadds          fr24,fr12,fr1,cc4,0
234         test_fr_iimmed  0xdeadbeef,fr1
235         cfadds          fr28,fr8,fr1,cc4,0
236         test_fr_iimmed  0xdeadbeef,fr1
238         cfadds          fr36,fr40,fr1,cc4,0
239         test_fr_iimmed  0xdeadbeef,fr1
241         set_fr_iimmed   0xdead,0xbeef,fr1
242         cfadds          fr16,fr0,fr1,cc1,1
243         test_fr_iimmed  0xdeadbeef,fr1
244         cfadds          fr16,fr4,fr1,cc1,1
245         test_fr_iimmed  0xdeadbeef,fr1
246         cfadds          fr16,fr8,fr1,cc1,1
247         test_fr_iimmed  0xdeadbeef,fr1
248         cfadds          fr16,fr12,fr1,cc1,1
249         test_fr_iimmed  0xdeadbeef,fr1
250         cfadds          fr16,fr16,fr1,cc1,1
251         test_fr_iimmed  0xdeadbeef,fr1
252         cfadds          fr16,fr20,fr1,cc1,1
253         test_fr_iimmed  0xdeadbeef,fr1
254         cfadds          fr16,fr24,fr1,cc1,1
255         test_fr_iimmed  0xdeadbeef,fr1
256         cfadds          fr16,fr28,fr1,cc1,1
257         test_fr_iimmed  0xdeadbeef,fr1
258         cfadds          fr16,fr32,fr1,cc1,1
259         test_fr_iimmed  0xdeadbeef,fr1
260         cfadds          fr16,fr36,fr1,cc1,1
261         test_fr_iimmed  0xdeadbeef,fr1
262         cfadds          fr16,fr40,fr1,cc1,1
263         test_fr_iimmed  0xdeadbeef,fr1
264         cfadds          fr16,fr44,fr1,cc1,1
265         test_fr_iimmed  0xdeadbeef,fr1
266         cfadds          fr16,fr48,fr1,cc1,1
267         test_fr_iimmed  0xdeadbeef,fr1
268         cfadds          fr16,fr52,fr1,cc1,1
269         test_fr_iimmed  0xdeadbeef,fr1
271         cfadds          fr20,fr0,fr1,cc1,1
272         test_fr_iimmed  0xdeadbeef,fr1
273         cfadds          fr20,fr4,fr1,cc1,1
274         test_fr_iimmed  0xdeadbeef,fr1
275         cfadds          fr20,fr8,fr1,cc5,1
276         test_fr_iimmed  0xdeadbeef,fr1
277         cfadds          fr20,fr12,fr1,cc5,1
278         test_fr_iimmed  0xdeadbeef,fr1
279         cfadds          fr20,fr16,fr1,cc5,1
280         test_fr_iimmed  0xdeadbeef,fr1
281         cfadds          fr20,fr20,fr1,cc5,1
282         test_fr_iimmed  0xdeadbeef,fr1
283         cfadds          fr20,fr24,fr1,cc5,1
284         test_fr_iimmed  0xdeadbeef,fr1
285         cfadds          fr20,fr28,fr1,cc5,1
286         test_fr_iimmed  0xdeadbeef,fr1
287         cfadds          fr20,fr32,fr1,cc5,1
288         test_fr_iimmed  0xdeadbeef,fr1
289         cfadds          fr20,fr36,fr1,cc5,1
290         test_fr_iimmed  0xdeadbeef,fr1
291         cfadds          fr20,fr40,fr1,cc5,1
292         test_fr_iimmed  0xdeadbeef,fr1
293         cfadds          fr20,fr44,fr1,cc5,1
294         test_fr_iimmed  0xdeadbeef,fr1
295         cfadds          fr20,fr48,fr1,cc5,1
296         test_fr_iimmed  0xdeadbeef,fr1
297         cfadds          fr20,fr52,fr1,cc5,1
298         test_fr_iimmed  0xdeadbeef,fr1
300         cfadds          fr8,fr28,fr1,cc5,1
301         test_fr_iimmed  0xdeadbeef,fr1
302         cfadds          fr12,fr24,fr1,cc5,1
303         test_fr_iimmed  0xdeadbeef,fr1
304         cfadds          fr24,fr12,fr1,cc5,1
305         test_fr_iimmed  0xdeadbeef,fr1
306         cfadds          fr28,fr8,fr1,cc5,1
307         test_fr_iimmed  0xdeadbeef,fr1
309         cfadds          fr36,fr40,fr1,cc5,1
310         test_fr_iimmed  0xdeadbeef,fr1
312         set_fr_iimmed   0xdead,0xbeef,fr1
313         cfadds          fr16,fr0,fr1,cc2,1
314         test_fr_iimmed  0xdeadbeef,fr1
315         cfadds          fr16,fr4,fr1,cc2,0
316         test_fr_iimmed  0xdeadbeef,fr1
317         cfadds          fr16,fr8,fr1,cc2,1
318         test_fr_iimmed  0xdeadbeef,fr1
319         cfadds          fr16,fr12,fr1,cc2,0
320         test_fr_iimmed  0xdeadbeef,fr1
321         cfadds          fr16,fr16,fr1,cc2,1
322         test_fr_iimmed  0xdeadbeef,fr1
323         cfadds          fr16,fr20,fr1,cc2,0
324         test_fr_iimmed  0xdeadbeef,fr1
325         cfadds          fr16,fr24,fr1,cc2,1
326         test_fr_iimmed  0xdeadbeef,fr1
327         cfadds          fr16,fr28,fr1,cc2,0
328         test_fr_iimmed  0xdeadbeef,fr1
329         cfadds          fr16,fr32,fr1,cc2,1
330         test_fr_iimmed  0xdeadbeef,fr1
331         cfadds          fr16,fr36,fr1,cc2,0
332         test_fr_iimmed  0xdeadbeef,fr1
333         cfadds          fr16,fr40,fr1,cc2,1
334         test_fr_iimmed  0xdeadbeef,fr1
335         cfadds          fr16,fr44,fr1,cc2,0
336         test_fr_iimmed  0xdeadbeef,fr1
337         cfadds          fr16,fr48,fr1,cc2,1
338         test_fr_iimmed  0xdeadbeef,fr1
339         cfadds          fr16,fr52,fr1,cc2,0
340         test_fr_iimmed  0xdeadbeef,fr1
342         cfadds          fr20,fr0,fr1,cc2,1
343         test_fr_iimmed  0xdeadbeef,fr1
344         cfadds          fr20,fr4,fr1,cc2,0
345         test_fr_iimmed  0xdeadbeef,fr1
346         cfadds          fr20,fr8,fr1,cc6,1
347         test_fr_iimmed  0xdeadbeef,fr1
348         cfadds          fr20,fr12,fr1,cc6,0
349         test_fr_iimmed  0xdeadbeef,fr1
350         cfadds          fr20,fr16,fr1,cc6,1
351         test_fr_iimmed  0xdeadbeef,fr1
352         cfadds          fr20,fr20,fr1,cc6,0
353         test_fr_iimmed  0xdeadbeef,fr1
354         cfadds          fr20,fr24,fr1,cc6,1
355         test_fr_iimmed  0xdeadbeef,fr1
356         cfadds          fr20,fr28,fr1,cc6,0
357         test_fr_iimmed  0xdeadbeef,fr1
358         cfadds          fr20,fr32,fr1,cc6,1
359         test_fr_iimmed  0xdeadbeef,fr1
360         cfadds          fr20,fr36,fr1,cc6,0
361         test_fr_iimmed  0xdeadbeef,fr1
362         cfadds          fr20,fr40,fr1,cc6,1
363         test_fr_iimmed  0xdeadbeef,fr1
364         cfadds          fr20,fr44,fr1,cc6,0
365         test_fr_iimmed  0xdeadbeef,fr1
366         cfadds          fr20,fr48,fr1,cc6,1
367         test_fr_iimmed  0xdeadbeef,fr1
368         cfadds          fr20,fr52,fr1,cc6,0
369         test_fr_iimmed  0xdeadbeef,fr1
371         cfadds          fr8,fr28,fr1,cc6,1
372         test_fr_iimmed  0xdeadbeef,fr1
373         cfadds          fr12,fr24,fr1,cc6,0
374         test_fr_iimmed  0xdeadbeef,fr1
375         cfadds          fr24,fr12,fr1,cc6,1
376         test_fr_iimmed  0xdeadbeef,fr1
377         cfadds          fr28,fr8,fr1,cc6,0
378         test_fr_iimmed  0xdeadbeef,fr1
380         cfadds          fr36,fr40,fr1,cc6,1
381         test_fr_iimmed  0xdeadbeef,fr1
383         set_fr_iimmed   0xdead,0xbeef,fr1
384         cfadds          fr16,fr0,fr1,cc3,0
385         test_fr_iimmed  0xdeadbeef,fr1
386         cfadds          fr16,fr4,fr1,cc3,1
387         test_fr_iimmed  0xdeadbeef,fr1
388         cfadds          fr16,fr8,fr1,cc3,0
389         test_fr_iimmed  0xdeadbeef,fr1
390         cfadds          fr16,fr12,fr1,cc3,1
391         test_fr_iimmed  0xdeadbeef,fr1
392         cfadds          fr16,fr16,fr1,cc3,0
393         test_fr_iimmed  0xdeadbeef,fr1
394         cfadds          fr16,fr20,fr1,cc3,1
395         test_fr_iimmed  0xdeadbeef,fr1
396         cfadds          fr16,fr24,fr1,cc3,0
397         test_fr_iimmed  0xdeadbeef,fr1
398         cfadds          fr16,fr28,fr1,cc3,1
399         test_fr_iimmed  0xdeadbeef,fr1
400         cfadds          fr16,fr32,fr1,cc3,0
401         test_fr_iimmed  0xdeadbeef,fr1
402         cfadds          fr16,fr36,fr1,cc3,1
403         test_fr_iimmed  0xdeadbeef,fr1
404         cfadds          fr16,fr40,fr1,cc3,0
405         test_fr_iimmed  0xdeadbeef,fr1
406         cfadds          fr16,fr44,fr1,cc3,1
407         test_fr_iimmed  0xdeadbeef,fr1
408         cfadds          fr16,fr48,fr1,cc3,0
409         test_fr_iimmed  0xdeadbeef,fr1
410         cfadds          fr16,fr52,fr1,cc3,1
411         test_fr_iimmed  0xdeadbeef,fr1
413         cfadds          fr20,fr0,fr1,cc3,0
414         test_fr_iimmed  0xdeadbeef,fr1
415         cfadds          fr20,fr4,fr1,cc3,1
416         test_fr_iimmed  0xdeadbeef,fr1
417         cfadds          fr20,fr8,fr1,cc7,0
418         test_fr_iimmed  0xdeadbeef,fr1
419         cfadds          fr20,fr12,fr1,cc7,1
420         test_fr_iimmed  0xdeadbeef,fr1
421         cfadds          fr20,fr16,fr1,cc7,0
422         test_fr_iimmed  0xdeadbeef,fr1
423         cfadds          fr20,fr20,fr1,cc7,1
424         test_fr_iimmed  0xdeadbeef,fr1
425         cfadds          fr20,fr24,fr1,cc7,0
426         test_fr_iimmed  0xdeadbeef,fr1
427         cfadds          fr20,fr28,fr1,cc7,1
428         test_fr_iimmed  0xdeadbeef,fr1
429         cfadds          fr20,fr32,fr1,cc7,0
430         test_fr_iimmed  0xdeadbeef,fr1
431         cfadds          fr20,fr36,fr1,cc7,1
432         test_fr_iimmed  0xdeadbeef,fr1
433         cfadds          fr20,fr40,fr1,cc7,0
434         test_fr_iimmed  0xdeadbeef,fr1
435         cfadds          fr20,fr44,fr1,cc7,1
436         test_fr_iimmed  0xdeadbeef,fr1
437         cfadds          fr20,fr48,fr1,cc7,0
438         test_fr_iimmed  0xdeadbeef,fr1
439         cfadds          fr20,fr52,fr1,cc7,1
440         test_fr_iimmed  0xdeadbeef,fr1
442         cfadds          fr8,fr28,fr1,cc7,0
443         test_fr_iimmed  0xdeadbeef,fr1
444         cfadds          fr12,fr24,fr1,cc7,1
445         test_fr_iimmed  0xdeadbeef,fr1
446         cfadds          fr24,fr12,fr1,cc7,0
447         test_fr_iimmed  0xdeadbeef,fr1
448         cfadds          fr28,fr8,fr1,cc7,1
449         test_fr_iimmed  0xdeadbeef,fr1
451         cfadds          fr36,fr40,fr1,cc7,0
452         test_fr_iimmed  0xdeadbeef,fr1
454         pass