Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / fitod.cgs
blob62ef1f21f39b9e7338e82affb3f9333c85293ef3
1 # frv testcase for fitod $FRj,$FRk
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         start
9         .global fitod
10 fitod:
11         set_fr_iimmed   0,0,fr2
12         fitod           fr2,fr2
13         test_fr_iimmed  0,fr2
14         test_fr_iimmed  0,fr3
16         set_fr_iimmed   0x0000,0x0002,fr2
17         fitod           fr2,fr2
18         test_fr_iimmed  0x40000000,fr2
19         test_fr_iimmed  0x00000000,fr3
21         set_fr_iimmed   0xdead,0xbeef,fr2
22         fitod           fr2,fr2
23         test_fr_iimmed  0xc1c0a920,fr2
24         test_fr_iimmed  0x88800000,fr3
26         pass