Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / mhsetlos.cgs
blobfb404a23ebb3a230ae4799dc8c73acb5f6453c2c
1 # frv testcase for mhsetlos $u12,$FRk
2 # mach: fr400 fr550
4         .include "testutils.inc"
6         start
8         .global setlo
9 setlo:
10         set_fr_iimmed   0xdead,0xbeef,fr1
11         mhsetlos        0,fr1
12         test_fr_limmed  0xdead,0x0000,fr1
14         mhsetlos        1,fr1
15         test_fr_limmed  0xdead,0x0001,fr1
17         mhsetlos        0x07ff,fr1
18         test_fr_limmed  0xdead,0x07ff,fr1
20         mhsetlos        -2048,fr1
21         test_fr_limmed  0xdead,0xf800,fr1
23         mhsetlos        -1,fr1
24         test_fr_limmed  0xdead,0xffff,fr1
26         pass