Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / ld.cgs
blob35206c2ad570d71b8c67235b72b232effc93d9d6
1 # frv testcase for ld @($GRi,$GRj),$GRk
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global ld
9 ld:
10         set_mem_limmed  0xdead,0xbeef,sp
11         set_gr_limmed   0xbeef,0xdead,gr8
13         set_gr_immed    0,gr7
14         ld              @(sp,gr7),gr8
15         test_gr_limmed  0xdead,0xbeef,gr8
17         set_gr_limmed   0xbeef,0xdead,gr8
18         inc_gr_immed    -4,sp
19         set_gr_immed    4,gr7
20         ld              @(sp,gr7),gr8
21         test_gr_limmed  0xdead,0xbeef,gr8
23         set_gr_limmed   0xbeef,0xdead,gr8
24         inc_gr_immed    8,sp
25         set_gr_immed    -4,gr7
26         ld              @(sp,gr7),gr8
27         test_gr_limmed  0xdead,0xbeef,gr8
29         pass