1 # frv testcase for cstdu $GRk,@($GRi,$GRj),$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
12 set_mem_limmed 0xbeef,0xdead,sp
14 set_mem_limmed 0xdead,0xbeef,sp
19 set_gr_limmed 0xbeef,0xdead,gr8
20 set_gr_limmed 0xdead,0xbeef,gr9
21 cstdu gr8,@(sp,gr7),cc0,1
22 test_mem_limmed 0xbeef,0xdead,gr21
24 test_mem_limmed 0xdead,0xbeef,gr21
30 set_gr_limmed 0xaaaa,0xaaaa,gr8
31 set_gr_limmed 0xbbbb,0xbbbb,gr9
32 cstdu gr8,@(sp,gr7),cc0,1
33 test_mem_limmed 0xaaaa,0xaaaa,gr21
35 test_mem_limmed 0xbbbb,0xbbbb,gr21
41 set_gr_limmed 0xcccc,0xcccc,gr8
42 set_gr_limmed 0xdddd,0xdddd,gr9
43 cstdu gr8,@(sp,gr7),cc4,1
44 test_mem_limmed 0xcccc,0xcccc,gr21
46 test_mem_limmed 0xdddd,0xdddd,gr21
51 set_mem_limmed 0xdead,0xbeef,sp
53 set_mem_limmed 0xbeef,0xdead,sp
58 set_gr_limmed 0xbeef,0xdead,gr8
59 set_gr_limmed 0xdead,0xbeef,gr9
60 cstdu gr8,@(sp,gr7),cc0,0
61 test_mem_limmed 0xdead,0xbeef,gr21
63 test_mem_limmed 0xbeef,0xdead,gr21
70 set_gr_limmed 0xaaaa,0xaaaa,gr8
71 set_gr_limmed 0xbbbb,0xbbbb,gr9
72 cstdu gr8,@(sp,gr7),cc0,0
73 test_mem_limmed 0xdead,0xbeef,gr21
75 test_mem_limmed 0xbeef,0xdead,gr21
82 set_gr_limmed 0xcccc,0xcccc,gr8
83 set_gr_limmed 0xdddd,0xdddd,gr9
84 cstdu gr8,@(sp,gr7),cc4,0
85 test_mem_limmed 0xdead,0xbeef,gr21
87 test_mem_limmed 0xbeef,0xdead,gr21
92 set_mem_limmed 0xdead,0xbeef,sp
94 set_mem_limmed 0xbeef,0xdead,sp
98 set_gr_limmed 0xbeef,0xdead,gr8
99 set_gr_limmed 0xdead,0xbeef,gr9
100 cstdu gr8,@(sp,gr7),cc1,0
101 test_mem_limmed 0xbeef,0xdead,gr21
103 test_mem_limmed 0xdead,0xbeef,gr21
109 set_gr_limmed 0xaaaa,0xaaaa,gr8
110 set_gr_limmed 0xbbbb,0xbbbb,gr9
111 cstdu gr8,@(sp,gr7),cc1,0
112 test_mem_limmed 0xaaaa,0xaaaa,gr21
114 test_mem_limmed 0xbbbb,0xbbbb,gr21
120 set_gr_limmed 0xcccc,0xcccc,gr8
121 set_gr_limmed 0xdddd,0xdddd,gr9
122 cstdu gr8,@(sp,gr7),cc5,0
123 test_mem_limmed 0xcccc,0xcccc,gr21
125 test_mem_limmed 0xdddd,0xdddd,gr21
130 set_mem_limmed 0xdead,0xbeef,sp
132 set_mem_limmed 0xbeef,0xdead,sp
137 set_gr_limmed 0xbeef,0xdead,gr8
138 set_gr_limmed 0xdead,0xbeef,gr9
139 cstdu gr8,@(sp,gr7),cc1,1
140 test_mem_limmed 0xdead,0xbeef,gr21
142 test_mem_limmed 0xbeef,0xdead,gr21
149 set_gr_limmed 0xaaaa,0xaaaa,gr8
150 set_gr_limmed 0xbbbb,0xbbbb,gr9
151 cstdu gr8,@(sp,gr7),cc1,1
152 test_mem_limmed 0xdead,0xbeef,gr21
154 test_mem_limmed 0xbeef,0xdead,gr21
161 set_gr_limmed 0xcccc,0xcccc,gr8
162 set_gr_limmed 0xdddd,0xdddd,gr9
163 cstdu gr8,@(sp,gr7),cc5,1
164 test_mem_limmed 0xdead,0xbeef,gr21
166 test_mem_limmed 0xbeef,0xdead,gr21
171 set_mem_limmed 0xdead,0xbeef,sp
173 set_mem_limmed 0xbeef,0xdead,sp
178 set_gr_limmed 0xbeef,0xdead,gr8
179 set_gr_limmed 0xdead,0xbeef,gr9
180 cstdu gr8,@(sp,gr7),cc2,0
181 test_mem_limmed 0xdead,0xbeef,gr21
183 test_mem_limmed 0xbeef,0xdead,gr21
190 set_gr_limmed 0xaaaa,0xaaaa,gr8
191 set_gr_limmed 0xbbbb,0xbbbb,gr9
192 cstdu gr8,@(sp,gr7),cc2,1
193 test_mem_limmed 0xdead,0xbeef,gr21
195 test_mem_limmed 0xbeef,0xdead,gr21
202 set_gr_limmed 0xcccc,0xcccc,gr8
203 set_gr_limmed 0xdddd,0xdddd,gr9
204 cstdu gr8,@(sp,gr7),cc6,0
205 test_mem_limmed 0xdead,0xbeef,gr21
207 test_mem_limmed 0xbeef,0xdead,gr21
212 set_mem_limmed 0xdead,0xbeef,sp
214 set_mem_limmed 0xbeef,0xdead,sp
219 set_gr_limmed 0xbeef,0xdead,gr8
220 set_gr_limmed 0xdead,0xbeef,gr9
221 cstdu gr8,@(sp,gr7),cc3,1
222 test_mem_limmed 0xdead,0xbeef,gr21
224 test_mem_limmed 0xbeef,0xdead,gr21
231 set_gr_limmed 0xaaaa,0xaaaa,gr8
232 set_gr_limmed 0xbbbb,0xbbbb,gr9
233 cstdu gr8,@(sp,gr7),cc3,0
234 test_mem_limmed 0xdead,0xbeef,gr21
236 test_mem_limmed 0xbeef,0xdead,gr21
243 set_gr_limmed 0xcccc,0xcccc,gr8
244 set_gr_limmed 0xdddd,0xdddd,gr9
245 cstdu gr8,@(sp,gr7),cc7,1
246 test_mem_limmed 0xdead,0xbeef,gr21
248 test_mem_limmed 0xbeef,0xdead,gr21