Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / stdc.cgs
blobbdff0ac81c98bb88e917919976e6dc2b3fcfafe6
1 # frv testcase for stdc $CPk,@($GRi,$GRj)
2 # mach: frv
4         .include "testutils.inc"
6         start
8         .global stdc
9 stdc:
10         set_mem_limmed  0xbeef,0xdead,sp
11         inc_gr_immed    -4,sp
12         set_mem_limmed  0xdead,0xbeef,sp
13         set_gr_immed    0,gr7
14         set_cpr_limmed  0xbeef,0xdead,cpr8
15         set_cpr_limmed  0xdead,0xbeef,cpr9
16         stdc            cpr8,@(sp,gr7)
17         test_mem_limmed 0xbeef,0xdead,sp
18         inc_gr_immed    4,sp
19         test_mem_limmed 0xdead,0xbeef,sp
21         pass