Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / msathu.cgs
blob4f376b2c34d7409484c4c9a3119bfc6b178f2a9a
1 # frv testcase for msathu $FRi,$FRj,$FRj
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global msathu
9 msathu:
10         set_fr_iimmed   0x0000,0x0000,fr10
11         set_fr_iimmed   0x0000,0x0000,fr11
12         msathu          fr10,fr11,fr12
13         test_fr_limmed  0x0000,0x0000,fr12
15         set_fr_iimmed   0x0001,0x7fff,fr10
16         set_fr_iimmed   0x0000,0x0000,fr11
17         msathu          fr10,fr11,fr12
18         test_fr_limmed  0x0000,0x0000,fr12
20         set_fr_iimmed   0xffff,0x8000,fr10
21         set_fr_iimmed   0x0000,0x0000,fr11
22         msathu          fr10,fr11,fr12
23         test_fr_limmed  0x0000,0x0000,fr12
25         set_fr_iimmed   0x0000,0x0000,fr10
26         set_fr_iimmed   0x0040,0x0040,fr11
27         msathu          fr10,fr11,fr12
28         test_fr_limmed  0x0000,0x0000,fr12
30         set_fr_iimmed   0x0001,0x7fff,fr10
31         set_fr_iimmed   0x0040,0x0040,fr11
32         msathu          fr10,fr11,fr12
33         test_fr_limmed  0x0001,0x0040,fr12
35         set_fr_iimmed   0xffff,0x8000,fr10
36         set_fr_iimmed   0x0040,0x0040,fr11
37         msathu          fr10,fr11,fr12
38         test_fr_limmed  0x0040,0x0040,fr12
40         set_fr_iimmed   0x0000,0x0000,fr10
41         set_fr_iimmed   0x7fff,0x7fff,fr11
42         msathu          fr10,fr11,fr12
43         test_fr_limmed  0x0000,0x0000,fr12
45         set_fr_iimmed   0x0001,0x7fff,fr10
46         set_fr_iimmed   0x7fff,0x7fff,fr11
47         msathu          fr10,fr11,fr12
48         test_fr_limmed  0x0001,0x7fff,fr12
50         set_fr_iimmed   0xffff,0xffff,fr10
51         set_fr_iimmed   0x7fff,0xffff,fr11
52         msathu          fr10,fr11,fr12
53         test_fr_limmed  0x7fff,0xffff,fr12
55         pass