Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / mhtob.cgs
blobefd83d73bde38f4c4ee942305e9421df1e9a22e4
1 # frv testcase for mhtob $FRj,$FRk
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global mhtob
9 mhtob:
10         set_fr_iimmed   0x00ad,0x00ef,fr10
11         set_fr_iimmed   0x0034,0x0078,fr11
12         mhtob           fr10,fr12
13         test_fr_limmed  0xadef,0x3478,fr12
15         set_fr_iimmed   0xdead,0xbeef,fr10      ; saturation
16         set_fr_iimmed   0x1234,0x5678,fr11
17         mhtob           fr10,fr12
18         test_fr_limmed  0xffff,0xffff,fr12
20         set_fr_iimmed   0x0134,0x0878,fr10      ; saturation
21         set_fr_iimmed   0x10ad,0x80ef,fr11
22         mhtob           fr10,fr12
23         test_fr_limmed  0xffff,0xffff,fr12
25         pass