Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / munpackh.cgs
blob45b2bd82421f746d8ef01ea9ebf891c8f3e3d72f
1 # frv testcase for munpackh $FRi,$FRj
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global munpackh
9 munpackh:
10         set_fr_iimmed   0xdead,0xbeef,fr10
11         set_fr_iimmed   0x1234,0x5678,fr11
12         munpackh        fr10,fr12
13         test_fr_limmed  0xdead,0xdead,fr12
14         test_fr_limmed  0xbeef,0xbeef,fr13
16         set_fr_iimmed   0x1234,0x5678,fr10
17         set_fr_iimmed   0xdead,0xbeef,fr11
18         munpackh        fr10,fr12
19         test_fr_limmed  0x1234,0x1234,fr12
20         test_fr_limmed  0x5678,0x5678,fr13
22         pass