1 # frv testcase for nfstoi $FRj,$FRk
2 # mach: fr500 fr550 frv
4 .include "testutils.inc"
14 test_spr_immed 0,fner1
15 test_spr_immed 0,fner0
19 test_spr_immed 0,fner1
20 test_spr_immed 0,fner0
23 test_fr_iimmed 0x00000002,fr1
24 test_spr_immed 0,fner1
25 test_spr_immed 0,fner0
27 set_fr_iimmed 0xce05,0x4904,fr1
29 test_fr_iimmed 0xdeadbf00,fr1
30 test_spr_immed 0,fner1
31 test_spr_immed 0,fner0
33 ; These were an attempt to cause overflow and nan exceptions
35 test_fr_iimmed 0x7fffffff,fr1
36 test_spr_immed 0,fner1
37 test_spr_immed 0,fner0
40 test_fr_iimmed 0x7fffffff,fr1
41 test_spr_immed 0,fner1
42 test_spr_immed 0,fner0
45 test_fr_iimmed 0x80000000,fr1
46 test_spr_immed 0,fner1
47 test_spr_immed 0,fner0