1 # frv testcase for cstdfu $GRk,@($GRi,$GRj),$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
13 set_mem_limmed 0xbeef,0xdead,sp
15 set_mem_limmed 0xdead,0xbeef,sp
19 set_fr_iimmed 0xbeef,0xdead,fr8
20 set_fr_iimmed 0xdead,0xbeef,fr9
21 cstdfu fr8,@(sp,gr7),cc0,1
23 test_mem_limmed 0xbeef,0xdead,gr22
25 test_mem_limmed 0xdead,0xbeef,gr22
30 set_fr_iimmed 0xaaaa,0xaaaa,fr8
31 set_fr_iimmed 0xbbbb,0xbbbb,fr9
32 cstdfu fr8,@(sp,gr7),cc0,1
34 test_mem_limmed 0xaaaa,0xaaaa,gr22
36 test_mem_limmed 0xbbbb,0xbbbb,gr22
41 set_fr_iimmed 0xcccc,0xcccc,fr8
42 set_fr_iimmed 0xdddd,0xdddd,fr9
43 cstdfu fr8,@(sp,gr7),cc4,1
45 test_mem_limmed 0xcccc,0xcccc,gr22
47 test_mem_limmed 0xdddd,0xdddd,gr22
51 set_mem_limmed 0xbeef,0xdead,sp
53 set_mem_limmed 0xdead,0xbeef,sp
57 set_fr_iimmed 0xbeef,0xdead,fr8
58 set_fr_iimmed 0xdead,0xbeef,fr9
59 cstdfu fr8,@(sp,gr7),cc0,0
61 test_mem_limmed 0xdead,0xbeef,gr22
63 test_mem_limmed 0xbeef,0xdead,gr22
69 set_fr_iimmed 0xaaaa,0xaaaa,fr8
70 set_fr_iimmed 0xbbbb,0xbbbb,fr9
71 cstdfu fr8,@(sp,gr7),cc0,0
73 test_mem_limmed 0xdead,0xbeef,gr22
75 test_mem_limmed 0xbeef,0xdead,gr22
81 set_fr_iimmed 0xcccc,0xcccc,fr8
82 set_fr_iimmed 0xdddd,0xdddd,fr9
83 cstdfu fr8,@(sp,gr7),cc4,0
85 test_mem_limmed 0xdead,0xbeef,gr22
87 test_mem_limmed 0xbeef,0xdead,gr22
91 set_mem_limmed 0xbeef,0xdead,sp
93 set_mem_limmed 0xdead,0xbeef,sp
97 set_fr_iimmed 0xbeef,0xdead,fr8
98 set_fr_iimmed 0xdead,0xbeef,fr9
99 cstdfu fr8,@(sp,gr7),cc1,0
101 test_mem_limmed 0xbeef,0xdead,gr22
103 test_mem_limmed 0xdead,0xbeef,gr22
108 set_fr_iimmed 0xaaaa,0xaaaa,fr8
109 set_fr_iimmed 0xbbbb,0xbbbb,fr9
110 cstdfu fr8,@(sp,gr7),cc1,0
112 test_mem_limmed 0xaaaa,0xaaaa,gr22
114 test_mem_limmed 0xbbbb,0xbbbb,gr22
119 set_fr_iimmed 0xcccc,0xcccc,fr8
120 set_fr_iimmed 0xdddd,0xdddd,fr9
121 cstdfu fr8,@(sp,gr7),cc5,0
123 test_mem_limmed 0xcccc,0xcccc,gr22
125 test_mem_limmed 0xdddd,0xdddd,gr22
129 set_mem_limmed 0xbeef,0xdead,sp
131 set_mem_limmed 0xdead,0xbeef,sp
135 set_fr_iimmed 0xbeef,0xdead,fr8
136 set_fr_iimmed 0xdead,0xbeef,fr9
137 cstdfu fr8,@(sp,gr7),cc1,1
139 test_mem_limmed 0xdead,0xbeef,gr22
141 test_mem_limmed 0xbeef,0xdead,gr22
147 set_fr_iimmed 0xaaaa,0xaaaa,fr8
148 set_fr_iimmed 0xbbbb,0xbbbb,fr9
149 cstdfu fr8,@(sp,gr7),cc1,1
151 test_mem_limmed 0xdead,0xbeef,gr22
153 test_mem_limmed 0xbeef,0xdead,gr22
159 set_fr_iimmed 0xcccc,0xcccc,fr8
160 set_fr_iimmed 0xdddd,0xdddd,fr9
161 cstdfu fr8,@(sp,gr7),cc5,1
163 test_mem_limmed 0xdead,0xbeef,gr22
165 test_mem_limmed 0xbeef,0xdead,gr22
169 set_mem_limmed 0xbeef,0xdead,sp
171 set_mem_limmed 0xdead,0xbeef,sp
175 set_fr_iimmed 0xbeef,0xdead,fr8
176 set_fr_iimmed 0xdead,0xbeef,fr9
177 cstdfu fr8,@(sp,gr7),cc2,0
179 test_mem_limmed 0xdead,0xbeef,gr22
181 test_mem_limmed 0xbeef,0xdead,gr22
187 set_fr_iimmed 0xaaaa,0xaaaa,fr8
188 set_fr_iimmed 0xbbbb,0xbbbb,fr9
189 cstdfu fr8,@(sp,gr7),cc2,1
191 test_mem_limmed 0xdead,0xbeef,gr22
193 test_mem_limmed 0xbeef,0xdead,gr22
199 set_fr_iimmed 0xcccc,0xcccc,fr8
200 set_fr_iimmed 0xdddd,0xdddd,fr9
201 cstdfu fr8,@(sp,gr7),cc6,0
203 test_mem_limmed 0xdead,0xbeef,gr22
205 test_mem_limmed 0xbeef,0xdead,gr22
209 set_mem_limmed 0xbeef,0xdead,sp
211 set_mem_limmed 0xdead,0xbeef,sp
215 set_fr_iimmed 0xbeef,0xdead,fr8
216 set_fr_iimmed 0xdead,0xbeef,fr9
217 cstdfu fr8,@(sp,gr7),cc3,1
219 test_mem_limmed 0xdead,0xbeef,gr22
221 test_mem_limmed 0xbeef,0xdead,gr22
227 set_fr_iimmed 0xaaaa,0xaaaa,fr8
228 set_fr_iimmed 0xbbbb,0xbbbb,fr9
229 cstdfu fr8,@(sp,gr7),cc3,0
231 test_mem_limmed 0xdead,0xbeef,gr22
233 test_mem_limmed 0xbeef,0xdead,gr22
239 set_fr_iimmed 0xcccc,0xcccc,fr8
240 set_fr_iimmed 0xdddd,0xdddd,fr9
241 cstdfu fr8,@(sp,gr7),cc7,1
243 test_mem_limmed 0xdead,0xbeef,gr22
245 test_mem_limmed 0xbeef,0xdead,gr22