1 # frv testcase for nfdmulcs $FRi,$FRj,$FRk
2 # mach: fr500 fr550 frv
4 .include "testutils.inc"
18 test_spr_immed 0,fner1
19 test_spr_immed 0,fner0
25 test_spr_immed 0,fner1
26 test_spr_immed 0,fner0
27 nfdmulcs fr16,fr12,fr2
32 test_spr_immed 0,fner1
33 test_spr_immed 0,fner0
34 nfdmulcs fr16,fr16,fr2
39 test_spr_immed 0,fner1
40 test_spr_immed 0,fner0
41 nfdmulcs fr16,fr20,fr2
46 test_spr_immed 0,fner1
47 test_spr_immed 0,fner0
48 nfdmulcs fr16,fr24,fr2
53 test_spr_immed 0,fner1
54 test_spr_immed 0,fner0
55 nfdmulcs fr16,fr28,fr2
60 test_spr_immed 0,fner1
61 test_spr_immed 0,fner0
62 nfdmulcs fr16,fr32,fr2
67 test_spr_immed 0,fner1
68 test_spr_immed 0,fner0
69 nfdmulcs fr16,fr36,fr2
74 test_spr_immed 0,fner1
75 test_spr_immed 0,fner0
76 nfdmulcs fr16,fr40,fr2
81 test_spr_immed 0,fner1
82 test_spr_immed 0,fner0
83 nfdmulcs fr16,fr44,fr2
88 test_spr_immed 0,fner1
89 test_spr_immed 0,fner0
90 nfdmulcs fr16,fr48,fr2
95 test_spr_immed 0,fner1
96 test_spr_immed 0,fner0
103 test_spr_immed 0,fner1
104 test_spr_immed 0,fner0
105 nfdmulcs fr20,fr8,fr2
110 test_spr_immed 0,fner1
111 test_spr_immed 0,fner0
112 nfdmulcs fr20,fr12,fr2
117 test_spr_immed 0,fner1
118 test_spr_immed 0,fner0
119 nfdmulcs fr20,fr16,fr2
124 test_spr_immed 0,fner1
125 test_spr_immed 0,fner0
126 nfdmulcs fr20,fr20,fr2
131 test_spr_immed 0,fner1
132 test_spr_immed 0,fner0
133 nfdmulcs fr20,fr24,fr2
138 test_spr_immed 0,fner1
139 test_spr_immed 0,fner0
140 nfdmulcs fr20,fr28,fr2
145 test_spr_immed 0,fner1
146 test_spr_immed 0,fner0
147 nfdmulcs fr20,fr32,fr2
152 test_spr_immed 0,fner1
153 test_spr_immed 0,fner0
154 nfdmulcs fr20,fr36,fr2
159 test_spr_immed 0,fner1
160 test_spr_immed 0,fner0
161 nfdmulcs fr20,fr40,fr2
166 test_spr_immed 0,fner1
167 test_spr_immed 0,fner0
168 nfdmulcs fr20,fr44,fr2
173 test_spr_immed 0,fner1
174 test_spr_immed 0,fner0
175 nfdmulcs fr20,fr48,fr2
180 test_spr_immed 0,fner1
181 test_spr_immed 0,fner0
183 nfdmulcs fr28,fr0,fr2
186 test_spr_immed 0,fner1
187 test_spr_immed 0,fner0
188 nfdmulcs fr28,fr4,fr2
191 test_spr_immed 0,fner1
192 test_spr_immed 0,fner0
193 nfdmulcs fr28,fr8,fr2
196 test_spr_immed 0,fner1
197 test_spr_immed 0,fner0
198 nfdmulcs fr28,fr12,fr2
201 test_spr_immed 0,fner1
202 test_spr_immed 0,fner0
203 nfdmulcs fr28,fr16,fr2
208 test_spr_immed 0,fner1
209 test_spr_immed 0,fner0
210 nfdmulcs fr28,fr20,fr2
215 test_spr_immed 0,fner1
216 test_spr_immed 0,fner0
217 nfdmulcs fr28,fr24,fr2
220 test_spr_immed 0,fner1
221 test_spr_immed 0,fner0
222 nfdmulcs fr28,fr28,fr2
225 test_spr_immed 0,fner1
226 test_spr_immed 0,fner0
227 nfdmulcs fr28,fr32,fr2
230 test_spr_immed 0,fner1
231 test_spr_immed 0,fner0
232 nfdmulcs fr28,fr36,fr2
235 test_spr_immed 0,fner1
236 test_spr_immed 0,fner0
237 nfdmulcs fr28,fr40,fr2
240 test_spr_immed 0,fner1
241 test_spr_immed 0,fner0
242 nfdmulcs fr28,fr44,fr2
245 test_spr_immed 0,fner1
246 test_spr_immed 0,fner0
247 nfdmulcs fr28,fr48,fr2
250 test_spr_immed 0,fner1
251 test_spr_immed 0,fner0
252 nfdmulcs fr28,fr52,fr2
255 test_spr_immed 0,fner1
256 test_spr_immed 0,fner0
258 nfdmulcs fr28,fr8,fr2
261 test_spr_immed 0,fner1
262 test_spr_immed 0,fner0
263 nfdmulcs fr8,fr28,fr2
266 test_spr_immed 0,fner1
267 test_spr_immed 0,fner0
269 nfdmulcs fr32,fr36,fr2
272 test_spr_immed 0,fner1
273 test_spr_immed 0,fner0
275 ; try to cause exceptions
276 nfdmulcs fr48,fr32,fr2
277 ; test_fr_fr fr2,fr44
278 ; test_fr_fr fr3,fr44
279 test_spr_immed 0,fner1
280 test_spr_immed 0,fner0
282 nfdmulcs fr52,fr28,fr2
283 ; test_fr_fr fr2,fr44
284 ; test_fr_fr fr3,fr44
285 test_spr_immed 0,fner1
286 test_spr_immed 0,fner0
288 nfdmulcs fr56,fr28,fr2
289 ; test_fr_fr fr2,fr44
290 ; test_fr_fr fr3,fr44
291 test_spr_immed 0,fner1
292 test_spr_immed 0,fner0
294 nfdmulcs fr60,fr28,fr2
295 ; test_fr_fr fr2,fr44
296 ; test_fr_fr fr3,fr44
297 test_spr_immed 0xc,fner1
298 test_spr_immed 0,fner0
300 ; test all regs different
301 set_spr_immed 0,fner0
302 set_spr_immed 0,fner1
303 set_fr_fr fr32,fr50 ; 2
304 set_fr_fr fr28,fr51 ; 1
305 set_fr_fr fr44,fr52 ; 9
306 set_fr_fr fr36,fr53 ; 3
307 nfdmulcs fr50,fr52,fr54 ; 2*3, 1*9
308 test_fr_fr fr54,fr40 ; 6
309 test_fr_fr fr55,fr44 ; 9
310 test_spr_immed 0,fner1
311 test_spr_immed 0,fner0