Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / stqfi.cgs
blob6a36a903fb818c83737991a36a06a8f96bf528d3
1 # frv testcase for stqfi $FRk,@($GRi,$GRj)
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         start
9         .global stqfi
10 stqfi:
11         set_mem_limmed  0xdead,0xbeef,sp
12         set_gr_gr       sp,gr10
13         inc_gr_immed    -4,sp
14         set_mem_limmed  0xbeef,0xdead,sp
15         set_gr_gr       sp,gr11
16         inc_gr_immed    -4,sp
17         set_mem_limmed  0x1234,0x5678,sp
18         set_gr_gr       sp,gr12
19         inc_gr_immed    -4,sp
20         set_mem_limmed  0x8765,0x4321,sp
21         set_gr_gr       sp,gr13
22         inc_gr_immed    -4,sp
23         set_mem_limmed  0xfedc,0xba98,sp
24         set_gr_gr       sp,gr14
25         inc_gr_immed    -4,sp
26         set_mem_limmed  0x89ab,0xcdef,sp
27         set_gr_gr       sp,gr15
28         inc_gr_immed    -4,sp
29         set_mem_limmed  0x2345,0x6789,sp
30         set_gr_gr       sp,gr16
31         inc_gr_immed    -4,sp
32         set_mem_limmed  0x9876,0x5432,sp
33         set_gr_gr       sp,gr17
34         inc_gr_immed    -4,sp
35         set_mem_limmed  0x3456,0x789a,sp
36         set_gr_gr       sp,gr18
37         inc_gr_immed    -4,sp
38         set_mem_limmed  0xa987,0x6543,sp
39         set_gr_gr       sp,gr19
40         inc_gr_immed    -4,sp
41         set_mem_limmed  0x4567,0x89ab,sp
42         set_gr_gr       sp,gr20
43         inc_gr_immed    -4,sp
44         set_mem_limmed  0xba98,0x7654,sp
45         set_gr_gr       sp,gr21
46         set_fr_iimmed   0xffff,0xffff,fr8
47         set_fr_iimmed   0xeeee,0xeeee,fr9
48         set_fr_iimmed   0xdddd,0xdddd,fr10
49         set_fr_iimmed   0xcccc,0xcccc,fr11
51         stqfi           fr8,@(sp,0)
52         test_mem_limmed 0xffff,0xffff,gr21
53         test_mem_limmed 0xeeee,0xeeee,gr20
54         test_mem_limmed 0xdddd,0xdddd,gr19
55         test_mem_limmed 0xcccc,0xcccc,gr18
56         test_mem_limmed 0x9876,0x5432,gr17
57         test_mem_limmed 0x2345,0x6789,gr16
58         test_mem_limmed 0x89ab,0xcdef,gr15
59         test_mem_limmed 0xfedc,0xba98,gr14
60         test_mem_limmed 0x8765,0x4321,gr13
61         test_mem_limmed 0x1234,0x5678,gr12
62         test_mem_limmed 0xbeef,0xdead,gr11
63         test_mem_limmed 0xdead,0xbeef,gr10
65         inc_gr_immed    0x810,sp        ; 2064
66         stqfi           fr8,@(sp,-2048)
67         test_mem_limmed 0xffff,0xffff,gr21
68         test_mem_limmed 0xeeee,0xeeee,gr20
69         test_mem_limmed 0xdddd,0xdddd,gr19
70         test_mem_limmed 0xcccc,0xcccc,gr18
71         test_mem_limmed 0xffff,0xffff,gr17
72         test_mem_limmed 0xeeee,0xeeee,gr16
73         test_mem_limmed 0xdddd,0xdddd,gr15
74         test_mem_limmed 0xcccc,0xcccc,gr14
75         test_mem_limmed 0x8765,0x4321,gr13
76         test_mem_limmed 0x1234,0x5678,gr12
77         test_mem_limmed 0xbeef,0xdead,gr11
78         test_mem_limmed 0xdead,0xbeef,gr10
80         inc_gr_immed    -4064,sp
81         stqfi           fr8,@(sp,0x7f0)
82         test_mem_limmed 0xffff,0xffff,gr21
83         test_mem_limmed 0xeeee,0xeeee,gr20
84         test_mem_limmed 0xdddd,0xdddd,gr19
85         test_mem_limmed 0xcccc,0xcccc,gr18
86         test_mem_limmed 0xffff,0xffff,gr17
87         test_mem_limmed 0xeeee,0xeeee,gr16
88         test_mem_limmed 0xdddd,0xdddd,gr15
89         test_mem_limmed 0xcccc,0xcccc,gr14
90         test_mem_limmed 0xffff,0xffff,gr13
91         test_mem_limmed 0xeeee,0xeeee,gr12
92         test_mem_limmed 0xdddd,0xdddd,gr11
93         test_mem_limmed 0xcccc,0xcccc,gr10
95         pass