1 # frv testcase for cstdf $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 cstdf fr8,@(sp,gr7),cc0,1
23 test_mem_limmed 0xbeef,0xdead,gr22
25 test_mem_limmed 0xdead,0xbeef,gr22
29 set_fr_iimmed 0xaaaa,0xaaaa,fr8
30 set_fr_iimmed 0xbbbb,0xbbbb,fr9
31 cstdf fr8,@(sp,gr7),cc0,1
33 test_mem_limmed 0xaaaa,0xaaaa,gr22
35 test_mem_limmed 0xbbbb,0xbbbb,gr22
39 set_fr_iimmed 0xcccc,0xcccc,fr8
40 set_fr_iimmed 0xdddd,0xdddd,fr9
41 cstdf fr8,@(sp,gr7),cc4,1
43 test_mem_limmed 0xcccc,0xcccc,gr22
45 test_mem_limmed 0xdddd,0xdddd,gr22
48 set_mem_limmed 0xbeef,0xdead,sp
50 set_mem_limmed 0xdead,0xbeef,sp
54 set_fr_iimmed 0xbeef,0xdead,fr8
55 set_fr_iimmed 0xdead,0xbeef,fr9
56 cstdf fr8,@(sp,gr7),cc0,0
58 test_mem_limmed 0xdead,0xbeef,gr22
60 test_mem_limmed 0xbeef,0xdead,gr22
64 set_fr_iimmed 0xaaaa,0xaaaa,fr8
65 set_fr_iimmed 0xbbbb,0xbbbb,fr9
66 cstdf fr8,@(sp,gr7),cc0,0
68 test_mem_limmed 0xdead,0xbeef,gr22
70 test_mem_limmed 0xbeef,0xdead,gr22
74 set_fr_iimmed 0xcccc,0xcccc,fr8
75 set_fr_iimmed 0xdddd,0xdddd,fr9
76 cstdf fr8,@(sp,gr7),cc4,0
78 test_mem_limmed 0xdead,0xbeef,gr22
80 test_mem_limmed 0xbeef,0xdead,gr22
83 set_mem_limmed 0xbeef,0xdead,sp
85 set_mem_limmed 0xdead,0xbeef,sp
89 set_fr_iimmed 0xbeef,0xdead,fr8
90 set_fr_iimmed 0xdead,0xbeef,fr9
91 cstdf fr8,@(sp,gr7),cc1,0
93 test_mem_limmed 0xbeef,0xdead,gr22
95 test_mem_limmed 0xdead,0xbeef,gr22
99 set_fr_iimmed 0xaaaa,0xaaaa,fr8
100 set_fr_iimmed 0xbbbb,0xbbbb,fr9
101 cstdf fr8,@(sp,gr7),cc1,0
103 test_mem_limmed 0xaaaa,0xaaaa,gr22
105 test_mem_limmed 0xbbbb,0xbbbb,gr22
109 set_fr_iimmed 0xcccc,0xcccc,fr8
110 set_fr_iimmed 0xdddd,0xdddd,fr9
111 cstdf fr8,@(sp,gr7),cc5,0
113 test_mem_limmed 0xcccc,0xcccc,gr22
115 test_mem_limmed 0xdddd,0xdddd,gr22
118 set_mem_limmed 0xbeef,0xdead,sp
120 set_mem_limmed 0xdead,0xbeef,sp
124 set_fr_iimmed 0xbeef,0xdead,fr8
125 set_fr_iimmed 0xdead,0xbeef,fr9
126 cstdf fr8,@(sp,gr7),cc1,1
128 test_mem_limmed 0xdead,0xbeef,gr22
130 test_mem_limmed 0xbeef,0xdead,gr22
134 set_fr_iimmed 0xaaaa,0xaaaa,fr8
135 set_fr_iimmed 0xbbbb,0xbbbb,fr9
136 cstdf fr8,@(sp,gr7),cc1,1
138 test_mem_limmed 0xdead,0xbeef,gr22
140 test_mem_limmed 0xbeef,0xdead,gr22
144 set_fr_iimmed 0xcccc,0xcccc,fr8
145 set_fr_iimmed 0xdddd,0xdddd,fr9
146 cstdf fr8,@(sp,gr7),cc5,1
148 test_mem_limmed 0xdead,0xbeef,gr22
150 test_mem_limmed 0xbeef,0xdead,gr22
153 set_mem_limmed 0xbeef,0xdead,sp
155 set_mem_limmed 0xdead,0xbeef,sp
159 set_fr_iimmed 0xbeef,0xdead,fr8
160 set_fr_iimmed 0xdead,0xbeef,fr9
161 cstdf fr8,@(sp,gr7),cc2,0
163 test_mem_limmed 0xdead,0xbeef,gr22
165 test_mem_limmed 0xbeef,0xdead,gr22
169 set_fr_iimmed 0xaaaa,0xaaaa,fr8
170 set_fr_iimmed 0xbbbb,0xbbbb,fr9
171 cstdf fr8,@(sp,gr7),cc2,1
173 test_mem_limmed 0xdead,0xbeef,gr22
175 test_mem_limmed 0xbeef,0xdead,gr22
179 set_fr_iimmed 0xcccc,0xcccc,fr8
180 set_fr_iimmed 0xdddd,0xdddd,fr9
181 cstdf fr8,@(sp,gr7),cc6,0
183 test_mem_limmed 0xdead,0xbeef,gr22
185 test_mem_limmed 0xbeef,0xdead,gr22
188 set_mem_limmed 0xbeef,0xdead,sp
190 set_mem_limmed 0xdead,0xbeef,sp
194 set_fr_iimmed 0xbeef,0xdead,fr8
195 set_fr_iimmed 0xdead,0xbeef,fr9
196 cstdf fr8,@(sp,gr7),cc3,1
198 test_mem_limmed 0xdead,0xbeef,gr22
200 test_mem_limmed 0xbeef,0xdead,gr22
204 set_fr_iimmed 0xaaaa,0xaaaa,fr8
205 set_fr_iimmed 0xbbbb,0xbbbb,fr9
206 cstdf fr8,@(sp,gr7),cc3,0
208 test_mem_limmed 0xdead,0xbeef,gr22
210 test_mem_limmed 0xbeef,0xdead,gr22
214 set_fr_iimmed 0xcccc,0xcccc,fr8
215 set_fr_iimmed 0xdddd,0xdddd,fr9
216 cstdf fr8,@(sp,gr7),cc7,1
218 test_mem_limmed 0xdead,0xbeef,gr22
220 test_mem_limmed 0xbeef,0xdead,gr22