Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / movgfq.cgs
blob0196133496acdd620c98a32ad8c446529372bfc4
1 # frv testcase for movgfq $GRj,$FRk
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         start
9         .global movgfq
10 movgfq:
11         set_gr_limmed   0xdead,0xbeef,gr8
12         set_gr_limmed   0xbeef,0xdead,gr9
13         set_gr_limmed   0x1234,0x5678,gr10
14         set_gr_limmed   0x9abc,0xdef0,gr11
15         set_fr_iimmed   0,0,fr8
16         set_fr_iimmed   0,0,fr9
17         set_fr_iimmed   0,0,fr10
18         set_fr_iimmed   0,0,fr11
19         movgfq gr8,fr8
20         test_gr_limmed  0xdead,0xbeef,gr8
21         test_gr_limmed  0xbeef,0xdead,gr9
22         test_gr_limmed  0x1234,0x5678,gr10
23         test_gr_limmed  0x9abc,0xdef0,gr11
24         test_fr_limmed  0xdead,0xbeef,fr8
25         test_fr_limmed  0xbeef,0xdead,fr9
26         test_fr_limmed  0x1234,0x5678,fr10
27         test_fr_limmed  0x9abc,0xdef0,fr11
29         pass