1 # frv testcase for cfadds $FRi,$FRj,$FRk,$CCi,$cond
2 # mach: fr500 fr550 frv
4 .include "testutils.inc"
12 set_spr_immed 0x1b1b,cccr
14 cfadds fr16,fr0,fr1,cc0,1
16 cfadds fr16,fr4,fr1,cc0,1
18 cfadds fr16,fr8,fr1,cc0,1
20 cfadds fr16,fr12,fr1,cc0,1
22 cfadds fr16,fr16,fr1,cc0,1
25 cfadds fr16,fr20,fr1,cc0,1
28 cfadds fr16,fr24,fr1,cc0,1
30 cfadds fr16,fr28,fr1,cc0,1
32 cfadds fr16,fr32,fr1,cc0,1
34 cfadds fr16,fr36,fr1,cc0,1
36 cfadds fr16,fr40,fr1,cc0,1
38 cfadds fr16,fr44,fr1,cc0,1
40 cfadds fr16,fr48,fr1,cc0,1
42 cfadds fr16,fr52,fr1,cc0,1
45 cfadds fr20,fr0,fr1,cc0,1
47 cfadds fr20,fr4,fr1,cc0,1
49 cfadds fr20,fr8,fr1,cc4,1
51 cfadds fr20,fr12,fr1,cc4,1
53 cfadds fr20,fr16,fr1,cc4,1
56 cfadds fr20,fr20,fr1,cc4,1
59 cfadds fr20,fr24,fr1,cc4,1
61 cfadds fr20,fr28,fr1,cc4,1
63 cfadds fr20,fr32,fr1,cc4,1
65 cfadds fr20,fr36,fr1,cc4,1
67 cfadds fr20,fr40,fr1,cc4,1
69 cfadds fr20,fr44,fr1,cc4,1
71 cfadds fr20,fr48,fr1,cc4,1
73 cfadds fr20,fr52,fr1,cc4,1
76 cfadds fr8,fr28,fr1,cc4,1
79 cfadds fr12,fr24,fr1,cc4,1
82 cfadds fr24,fr12,fr1,cc4,1
85 cfadds fr28,fr8,fr1,cc4,1
89 cfadds fr36,fr40,fr1,cc4,1
92 cfadds fr16,fr0,fr1,cc1,0
94 cfadds fr16,fr4,fr1,cc1,0
96 cfadds fr16,fr8,fr1,cc1,0
98 cfadds fr16,fr12,fr1,cc1,0
100 cfadds fr16,fr16,fr1,cc1,0
103 cfadds fr16,fr20,fr1,cc1,0
106 cfadds fr16,fr24,fr1,cc1,0
108 cfadds fr16,fr28,fr1,cc1,0
110 cfadds fr16,fr32,fr1,cc1,0
112 cfadds fr16,fr36,fr1,cc1,0
114 cfadds fr16,fr40,fr1,cc1,0
116 cfadds fr16,fr44,fr1,cc1,0
118 cfadds fr16,fr48,fr1,cc1,0
120 cfadds fr16,fr52,fr1,cc1,0
123 cfadds fr20,fr0,fr1,cc1,0
125 cfadds fr20,fr4,fr1,cc1,0
127 cfadds fr20,fr8,fr1,cc5,0
129 cfadds fr20,fr12,fr1,cc5,0
131 cfadds fr20,fr16,fr1,cc5,0
134 cfadds fr20,fr20,fr1,cc5,0
137 cfadds fr20,fr24,fr1,cc5,0
139 cfadds fr20,fr28,fr1,cc5,0
141 cfadds fr20,fr32,fr1,cc5,0
143 cfadds fr20,fr36,fr1,cc5,0
145 cfadds fr20,fr40,fr1,cc5,0
147 cfadds fr20,fr44,fr1,cc5,0
149 cfadds fr20,fr48,fr1,cc5,0
151 cfadds fr20,fr52,fr1,cc5,0
154 cfadds fr8,fr28,fr1,cc5,0
157 cfadds fr12,fr24,fr1,cc5,0
160 cfadds fr24,fr12,fr1,cc5,0
163 cfadds fr28,fr8,fr1,cc5,0
167 cfadds fr36,fr40,fr1,cc5,0
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