Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / mhdsets.cgs
blob1f2681450be50fd590f0fb875fbc2bc6ff5d4ef5
1 # frv testcase for mhdsets $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         mhdsets         0,fr1
12         test_fr_limmed  0x0000,0x0000,fr1
14         mhdsets         1,fr1
15         test_fr_limmed  0x0001,0x0001,fr1
17         mhdsets         0x07ff,fr1
18         test_fr_limmed  0x07ff,0x07ff,fr1
20         mhdsets         -2048,fr1
21         test_fr_limmed  0xf800,0xf800,fr1
23         mhdsets         -1,fr1
24         test_fr_limmed  0xffff,0xffff,fr1
26         pass