Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / nfdmas.cgs
blob07f76aafb559c2d82eb3b0dd6f82abd5c3a2dfc1
1 # frv testcase for nfdmas $FRi,$FRj,$FRk
2 # mach: frv
4         .include "testutils.inc"
6         float_constants
7         start
8         load_float_constants
9         load_float_constants1
10         load_float_constants2
11         load_float_constants3
13         .global nfdmas
14 nfdmas:
15         nfdmas          fr16,fr4,fr60
16         test_fr_fr      fr60,fr16
17         test_fr_fr      fr60,fr20
18         test_fr_fr      fr61,fr4
19         test_fr_fr      fr62,fr16
20         test_fr_fr      fr62,fr20
21         test_fr_fr      fr63,fr4
22         test_spr_immed  0,fner1
23         test_spr_immed  0,fner0
24         nfdmas          fr16,fr8,fr60
25         test_fr_fr      fr60,fr16
26         test_fr_fr      fr60,fr20
27         test_fr_fr      fr61,fr8
28         test_fr_fr      fr62,fr16
29         test_fr_fr      fr62,fr20
30         test_fr_fr      fr63,fr8
31         test_spr_immed  0,fner1
32         test_spr_immed  0,fner0
33         nfdmas          fr16,fr12,fr60
34         test_fr_fr      fr60,fr16
35         test_fr_fr      fr60,fr20
36         test_fr_fr      fr61,fr12
37         test_fr_fr      fr62,fr16
38         test_fr_fr      fr62,fr20
39         test_fr_fr      fr63,fr12
40         test_spr_immed  0,fner1
41         test_spr_immed  0,fner0
42         nfdmas          fr16,fr16,fr60
43         test_fr_fr      fr60,fr16
44         test_fr_fr      fr60,fr20
45         test_fr_fr      fr61,fr16
46         test_fr_fr      fr61,fr20
47         test_fr_fr      fr62,fr16
48         test_fr_fr      fr62,fr20
49         test_fr_fr      fr63,fr16
50         test_fr_fr      fr63,fr20
51         test_spr_immed  0,fner1
52         test_spr_immed  0,fner0
53         nfdmas          fr16,fr20,fr60
54         test_fr_fr      fr60,fr16
55         test_fr_fr      fr60,fr20
56         test_fr_fr      fr61,fr16
57         test_fr_fr      fr61,fr20
58         test_fr_fr      fr62,fr16
59         test_fr_fr      fr62,fr20
60         test_fr_fr      fr63,fr16
61         test_fr_fr      fr63,fr20
62         test_spr_immed  0,fner1
63         test_spr_immed  0,fner0
64         nfdmas          fr16,fr24,fr60
65         test_fr_fr      fr60,fr16
66         test_fr_fr      fr60,fr20
67         test_fr_fr      fr61,fr24
68         test_fr_fr      fr62,fr16
69         test_fr_fr      fr62,fr20
70         test_fr_fr      fr63,fr24
71         test_spr_immed  0,fner1
72         test_spr_immed  0,fner0
73         nfdmas          fr16,fr28,fr60
74         test_fr_fr      fr60,fr16
75         test_fr_fr      fr60,fr20
76         test_fr_fr      fr61,fr28
77         test_fr_fr      fr62,fr16
78         test_fr_fr      fr62,fr20
79         test_fr_fr      fr63,fr28
80         test_spr_immed  0,fner1
81         test_spr_immed  0,fner0
82         nfdmas          fr16,fr32,fr60
83         test_fr_fr      fr60,fr16
84         test_fr_fr      fr60,fr20
85         test_fr_fr      fr61,fr32
86         test_fr_fr      fr62,fr16
87         test_fr_fr      fr62,fr20
88         test_fr_fr      fr63,fr32
89         test_spr_immed  0,fner1
90         test_spr_immed  0,fner0
91         nfdmas          fr16,fr36,fr60
92         test_fr_fr      fr60,fr16
93         test_fr_fr      fr60,fr20
94         test_fr_fr      fr61,fr36
95         test_fr_fr      fr62,fr16
96         test_fr_fr      fr62,fr20
97         test_fr_fr      fr63,fr36
98         test_spr_immed  0,fner1
99         test_spr_immed  0,fner0
100         nfdmas          fr16,fr40,fr60
101         test_fr_fr      fr60,fr16
102         test_fr_fr      fr60,fr20
103         test_fr_fr      fr61,fr40
104         test_fr_fr      fr62,fr16
105         test_fr_fr      fr62,fr20
106         test_fr_fr      fr63,fr40
107         test_spr_immed  0,fner1
108         test_spr_immed  0,fner0
109         nfdmas          fr16,fr44,fr60
110         test_fr_fr      fr60,fr16
111         test_fr_fr      fr60,fr20
112         test_fr_fr      fr61,fr44
113         test_fr_fr      fr62,fr16
114         test_fr_fr      fr62,fr20
115         test_fr_fr      fr63,fr44
116         test_spr_immed  0,fner1
117         test_spr_immed  0,fner0
118         nfdmas          fr16,fr48,fr60
119         test_fr_fr      fr60,fr16
120         test_fr_fr      fr60,fr20
121         test_fr_fr      fr61,fr48
122         test_fr_fr      fr62,fr16
123         test_fr_fr      fr62,fr20
124         test_fr_fr      fr63,fr48
125         test_spr_immed  0,fner1
126         test_spr_immed  0,fner0
128         nfdmas          fr20,fr4,fr60
129         test_fr_fr      fr60,fr16
130         test_fr_fr      fr60,fr20
131         test_fr_fr      fr61,fr4
132         test_fr_fr      fr62,fr16
133         test_fr_fr      fr62,fr20
134         test_fr_fr      fr63,fr4
135         test_spr_immed  0,fner1
136         test_spr_immed  0,fner0
137         nfdmas          fr20,fr8,fr60
138         test_fr_fr      fr60,fr16
139         test_fr_fr      fr60,fr20
140         test_fr_fr      fr61,fr8
141         test_fr_fr      fr62,fr16
142         test_fr_fr      fr62,fr20
143         test_fr_fr      fr63,fr8
144         test_spr_immed  0,fner1
145         test_spr_immed  0,fner0
146         nfdmas          fr20,fr12,fr60
147         test_fr_fr      fr60,fr16
148         test_fr_fr      fr60,fr20
149         test_fr_fr      fr61,fr12
150         test_fr_fr      fr62,fr16
151         test_fr_fr      fr62,fr20
152         test_fr_fr      fr63,fr12
153         test_spr_immed  0,fner1
154         test_spr_immed  0,fner0
155         nfdmas          fr20,fr16,fr60
156         test_fr_fr      fr60,fr16
157         test_fr_fr      fr60,fr20
158         test_fr_fr      fr61,fr16
159         test_fr_fr      fr61,fr20
160         test_fr_fr      fr62,fr16
161         test_fr_fr      fr62,fr20
162         test_fr_fr      fr63,fr16
163         test_fr_fr      fr63,fr20
164         test_spr_immed  0,fner1
165         test_spr_immed  0,fner0
166         nfdmas          fr20,fr20,fr60
167         test_fr_fr      fr60,fr16
168         test_fr_fr      fr60,fr20
169         test_fr_fr      fr61,fr16
170         test_fr_fr      fr61,fr20
171         test_fr_fr      fr62,fr16
172         test_fr_fr      fr62,fr20
173         test_fr_fr      fr63,fr16
174         test_fr_fr      fr63,fr20
175         test_spr_immed  0,fner1
176         test_spr_immed  0,fner0
177         nfdmas          fr20,fr24,fr60
178         test_fr_fr      fr60,fr16
179         test_fr_fr      fr60,fr20
180         test_fr_fr      fr61,fr24
181         test_fr_fr      fr62,fr16
182         test_fr_fr      fr62,fr20
183         test_fr_fr      fr63,fr24
184         test_spr_immed  0,fner1
185         test_spr_immed  0,fner0
186         nfdmas          fr20,fr28,fr60
187         test_fr_fr      fr60,fr16
188         test_fr_fr      fr60,fr20
189         test_fr_fr      fr61,fr28
190         test_fr_fr      fr62,fr16
191         test_fr_fr      fr62,fr20
192         test_fr_fr      fr63,fr28
193         test_spr_immed  0,fner1
194         test_spr_immed  0,fner0
195         nfdmas          fr20,fr32,fr60
196         test_fr_fr      fr60,fr16
197         test_fr_fr      fr60,fr20
198         test_fr_fr      fr61,fr32
199         test_fr_fr      fr62,fr16
200         test_fr_fr      fr62,fr20
201         test_fr_fr      fr63,fr32
202         test_spr_immed  0,fner1
203         test_spr_immed  0,fner0
204         nfdmas          fr20,fr36,fr60
205         test_fr_fr      fr60,fr16
206         test_fr_fr      fr60,fr20
207         test_fr_fr      fr61,fr36
208         test_fr_fr      fr62,fr16
209         test_fr_fr      fr62,fr20
210         test_fr_fr      fr63,fr36
211         test_spr_immed  0,fner1
212         test_spr_immed  0,fner0
213         nfdmas          fr20,fr40,fr60
214         test_fr_fr      fr60,fr16
215         test_fr_fr      fr60,fr20
216         test_fr_fr      fr61,fr40
217         test_fr_fr      fr62,fr16
218         test_fr_fr      fr62,fr20
219         test_fr_fr      fr63,fr40
220         test_spr_immed  0,fner1
221         test_spr_immed  0,fner0
222         nfdmas          fr20,fr44,fr60
223         test_fr_fr      fr60,fr16
224         test_fr_fr      fr60,fr20
225         test_fr_fr      fr61,fr44
226         test_fr_fr      fr62,fr16
227         test_fr_fr      fr62,fr20
228         test_fr_fr      fr63,fr44
229         test_spr_immed  0,fner1
230         test_spr_immed  0,fner0
231         nfdmas          fr20,fr48,fr60
232         test_fr_fr      fr60,fr16
233         test_fr_fr      fr60,fr20
234         test_fr_fr      fr61,fr48
235         test_fr_fr      fr62,fr16
236         test_fr_fr      fr62,fr20
237         test_fr_fr      fr63,fr48
238         test_spr_immed  0,fner1
239         test_spr_immed  0,fner0
241         nfdmas          fr28,fr0,fr60
242         test_fr_fr      fr60,fr0
243         test_fr_fr      fr62,fr0
244         test_spr_immed  0,fner1
245         test_spr_immed  0,fner0
246         nfdmas          fr28,fr4,fr60
247         test_fr_fr      fr60,fr4
248         test_fr_fr      fr62,fr4
249         test_spr_immed  0,fner1
250         test_spr_immed  0,fner0
251         nfdmas          fr28,fr8,fr60
252         test_fr_fr      fr60,fr8
253         test_fr_fr      fr61,fr16
254         test_fr_fr      fr61,fr20
255         test_fr_fr      fr62,fr8
256         test_fr_fr      fr63,fr16
257         test_fr_fr      fr63,fr20
258         test_spr_immed  0,fner1
259         test_spr_immed  0,fner0
260         nfdmas          fr28,fr12,fr60
261         test_fr_fr      fr60,fr12
262         test_fr_fr      fr62,fr12
263         test_spr_immed  0,fner1
264         test_spr_immed  0,fner0
265         nfdmas          fr28,fr16,fr60
266         test_fr_fr      fr60,fr16
267         test_fr_fr      fr60,fr20
268         test_fr_fr      fr62,fr16
269         test_fr_fr      fr62,fr20
270         test_spr_immed  0,fner1
271         test_spr_immed  0,fner0
272         nfdmas          fr28,fr20,fr60
273         test_fr_fr      fr60,fr16
274         test_fr_fr      fr60,fr20
275         test_fr_fr      fr62,fr16
276         test_fr_fr      fr62,fr20
277         test_spr_immed  0,fner1
278         test_spr_immed  0,fner0
279         nfdmas          fr28,fr24,fr60
280         test_fr_fr      fr60,fr24
281         test_fr_fr      fr62,fr24
282         test_spr_immed  0,fner1
283         test_spr_immed  0,fner0
284         nfdmas          fr28,fr28,fr60
285         test_fr_fr      fr60,fr28
286         test_fr_fr      fr62,fr28
287         test_spr_immed  0,fner1
288         test_spr_immed  0,fner0
289         nfdmas          fr28,fr32,fr60
290         test_fr_fr      fr60,fr32
291         test_fr_fr      fr61,fr36
292         test_fr_fr      fr62,fr32
293         test_fr_fr      fr63,fr36
294         test_spr_immed  0,fner1
295         test_spr_immed  0,fner0
296         nfdmas          fr28,fr36,fr60
297         test_fr_fr      fr60,fr36
298         test_fr_fr      fr62,fr36
299         test_spr_immed  0,fner1
300         test_spr_immed  0,fner0
301         nfdmas          fr28,fr40,fr60
302         test_fr_fr      fr60,fr40
303         test_fr_fr      fr62,fr40
304         test_spr_immed  0,fner1
305         test_spr_immed  0,fner0
306         nfdmas          fr28,fr44,fr60
307         test_fr_fr      fr60,fr44
308         test_fr_fr      fr62,fr44
309         test_spr_immed  0,fner1
310         test_spr_immed  0,fner0
311         nfdmas          fr28,fr48,fr60
312         test_fr_fr      fr60,fr48
313         test_fr_fr      fr62,fr48
314         test_spr_immed  0,fner1
315         test_spr_immed  0,fner0
316         nfdmas          fr28,fr52,fr60
317         test_fr_fr      fr60,fr52
318         test_fr_fr      fr62,fr52
319         test_spr_immed  0,fner1
320         test_spr_immed  0,fner0
322         nfdmas          fr28,fr8,fr60
323         test_fr_fr      fr60,fr8
324         test_fr_fr      fr61,fr16
325         test_fr_fr      fr61,fr20
326         test_fr_fr      fr62,fr8
327         test_fr_fr      fr63,fr16
328         test_fr_fr      fr63,fr20
329         test_spr_immed  0,fner1
330         test_spr_immed  0,fner0
331         nfdmas          fr8,fr28,fr60
332         test_fr_fr      fr60,fr8
333         test_fr_fr      fr61,fr16
334         test_fr_fr      fr61,fr20
335         test_fr_fr      fr62,fr8
336         test_fr_fr      fr63,fr16
337         test_fr_fr      fr63,fr20
338         test_spr_immed  0,fner1
339         test_spr_immed  0,fner0
341         nfdmas          fr32,fr36,fr60
342         test_fr_fr      fr60,fr40
343         test_fr_fr      fr62,fr40
344         test_spr_immed  0,fner1
345         test_spr_immed  0,fner0
347         ; TODO -- test cases to set ne flags
349         pass