1 # frv testcase for nfitos $FRj,$FRk
2 # mach: fr500 fr550 frv
4 .include "testutils.inc"
16 test_spr_immed 0,fner1
17 test_spr_immed 0,fner0
19 set_fr_iimmed 0x0000,0x0002,fr1
22 test_spr_immed 0,fner1
23 test_spr_immed 0,fner0
25 set_fr_iimmed 0xdead,0xbeef,fr1
27 test_fr_iimmed 0xce054904,fr1
28 test_spr_immed 0,fner1
29 test_spr_immed 0,fner0
31 ; These were an attempt to cause overflow
32 set_fr_iimmed 0x7fff,0xffff,fr1
34 test_fr_iimmed 0x4f000000,fr1
35 test_spr_immed 0,fner1
36 test_spr_immed 0,fner0
38 set_fr_iimmed 0x8000,0x0000,fr1
40 test_fr_iimmed 0xcf000000,fr1
41 test_spr_immed 0,fner1
42 test_spr_immed 0,fner0