Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / ldqfi.cgs
blob28c3b1f32470f1605b191c91ebae254c62b67a06
1 # frv testcase for ldqfi @($GRi,$GRj),$GRk
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         start
9         .global ldqfi
10 ldqfi:
11         set_mem_limmed  0xdead,0xbeef,sp
12         inc_gr_immed    -4,sp
13         set_mem_limmed  0xbeef,0xdead,sp
14         inc_gr_immed    -4,sp
15         set_mem_limmed  0x1234,0x5678,sp
16         inc_gr_immed    -4,sp
17         set_mem_limmed  0x9abc,0xdef0,sp
18         set_fr_iimmed   0xdead,0xbeef,fr8
19         set_fr_iimmed   0xbeef,0xdead,fr9
20         set_fr_iimmed   0x1234,0x5678,fr10
21         set_fr_iimmed   0x9abc,0xdef0,fr11
23         ldqfi           @(sp,0),fr8
24         test_fr_limmed  0x9abc,0xdef0,fr8
25         test_fr_limmed  0x1234,0x5678,fr9
26         test_fr_limmed  0xbeef,0xdead,fr10
27         test_fr_limmed  0xdead,0xbeef,fr11
29         set_fr_iimmed   0xdead,0xbeef,fr8
30         set_fr_iimmed   0xbeef,0xdead,fr9
31         set_fr_iimmed   0x1234,0x5678,fr10
32         set_fr_iimmed   0x9abc,0xdef0,fr11
33         inc_gr_immed    -16,sp
34         ldqfi           @(sp,16),fr8
35         test_fr_limmed  0x9abc,0xdef0,fr8
36         test_fr_limmed  0x1234,0x5678,fr9
37         test_fr_limmed  0xbeef,0xdead,fr10
38         test_fr_limmed  0xdead,0xbeef,fr11
40         set_fr_iimmed   0xdead,0xbeef,fr8
41         set_fr_iimmed   0xbeef,0xdead,fr9
42         set_fr_iimmed   0x1234,0x5678,fr10
43         set_fr_iimmed   0x9abc,0xdef0,fr11
44         inc_gr_immed    32,sp
45         ldqfi           @(sp,-16),fr8
46         test_fr_limmed  0x9abc,0xdef0,fr8
47         test_fr_limmed  0x1234,0x5678,fr9
48         test_fr_limmed  0xbeef,0xdead,fr10
49         test_fr_limmed  0xdead,0xbeef,fr11
51         pass