1 # frv testcase for cstu $GRk,@($GRi,$GRj),$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
13 set_mem_limmed 0xdead,0xbeef,sp
15 set_gr_limmed 0xffff,0xffff,gr8
16 cstu gr8,@(sp,gr7),cc0,1
17 test_mem_limmed 0xffff,0xffff,gr21
22 set_gr_limmed 0xeeee,0xffff,gr8
23 cstu gr8,@(sp,gr7),cc0,1
24 test_mem_limmed 0xeeee,0xffff,gr21
29 set_gr_limmed 0xcccc,0xdddd,gr8
30 cstu gr8,@(sp,gr7),cc4,1
31 test_mem_limmed 0xcccc,0xdddd,gr21
35 set_mem_limmed 0xdead,0xbeef,sp
37 set_gr_limmed 0xffff,0xffff,gr8
38 cstu gr8,@(sp,gr7),cc0,0
39 test_mem_limmed 0xdead,0xbeef,gr21
45 set_gr_limmed 0xeeee,0xffff,gr8
46 cstu gr8,@(sp,gr7),cc0,0
47 test_mem_limmed 0xdead,0xbeef,gr21
53 set_gr_limmed 0xcccc,0xdddd,gr8
54 cstu gr8,@(sp,gr7),cc4,0
55 test_mem_limmed 0xdead,0xbeef,gr21
59 set_mem_limmed 0xdead,0xbeef,sp
61 set_gr_limmed 0xffff,0xffff,gr8
62 cstu gr8,@(sp,gr7),cc1,0
63 test_mem_limmed 0xffff,0xffff,gr21
68 set_gr_limmed 0xeeee,0xffff,gr8
69 cstu gr8,@(sp,gr7),cc1,0
70 test_mem_limmed 0xeeee,0xffff,gr21
75 set_gr_limmed 0xcccc,0xdddd,gr8
76 cstu gr8,@(sp,gr7),cc5,0
77 test_mem_limmed 0xcccc,0xdddd,gr21
81 set_mem_limmed 0xdead,0xbeef,sp
83 set_gr_limmed 0xffff,0xffff,gr8
84 cstu gr8,@(sp,gr7),cc1,1
85 test_mem_limmed 0xdead,0xbeef,gr21
91 set_gr_limmed 0xeeee,0xffff,gr8
92 cstu gr8,@(sp,gr7),cc1,1
93 test_mem_limmed 0xdead,0xbeef,gr21
99 set_gr_limmed 0xcccc,0xdddd,gr8
100 cstu gr8,@(sp,gr7),cc5,1
101 test_mem_limmed 0xdead,0xbeef,gr21
105 set_mem_limmed 0xdead,0xbeef,sp
107 set_gr_limmed 0xffff,0xffff,gr8
108 cstu gr8,@(sp,gr7),cc2,0
109 test_mem_limmed 0xdead,0xbeef,gr21
115 set_gr_limmed 0xeeee,0xffff,gr8
116 cstu gr8,@(sp,gr7),cc2,1
117 test_mem_limmed 0xdead,0xbeef,gr21
123 set_gr_limmed 0xcccc,0xdddd,gr8
124 cstu gr8,@(sp,gr7),cc6,0
125 test_mem_limmed 0xdead,0xbeef,gr21
129 set_mem_limmed 0xdead,0xbeef,sp
131 set_gr_limmed 0xffff,0xffff,gr8
132 cstu gr8,@(sp,gr7),cc3,1
133 test_mem_limmed 0xdead,0xbeef,gr21
139 set_gr_limmed 0xeeee,0xffff,gr8
140 cstu gr8,@(sp,gr7),cc3,0
141 test_mem_limmed 0xdead,0xbeef,gr21
147 set_gr_limmed 0xcccc,0xdddd,gr8
148 cstu gr8,@(sp,gr7),cc7,1
149 test_mem_limmed 0xdead,0xbeef,gr21