1 # frv testcase for cldu @($GRi,$GRj),$GRk,$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
13 set_mem_limmed 0xdead,0xbeef,sp
14 set_gr_limmed 0xbeef,0xdead,gr8
18 cldu @(sp,gr7),gr8,cc0,1
19 test_gr_limmed 0xdead,0xbeef,gr8
22 set_gr_limmed 0xbeef,0xdead,gr8
25 cldu @(sp,gr7),gr8,cc0,1
26 test_gr_limmed 0xdead,0xbeef,gr8
29 set_gr_limmed 0xbeef,0xdead,gr8
32 cldu @(sp,gr7),gr8,cc4,1
33 test_gr_limmed 0xdead,0xbeef,gr8
37 set_mem_limmed 0xdead,0xbeef,sp
38 set_gr_limmed 0xbeef,0xdead,gr8
42 cldu @(sp,gr7),gr8,cc0,0
43 test_gr_limmed 0xbeef,0xdead,gr8
46 set_gr_limmed 0xbeef,0xdead,gr8
50 cldu @(sp,gr7),gr8,cc0,0
51 test_gr_limmed 0xbeef,0xdead,gr8
54 set_gr_limmed 0xbeef,0xdead,gr8
58 cldu @(sp,gr7),gr8,cc4,0
59 test_gr_limmed 0xbeef,0xdead,gr8
63 set_mem_limmed 0xdead,0xbeef,sp
64 set_gr_limmed 0xbeef,0xdead,gr8
68 cldu @(sp,gr7),gr8,cc1,0
69 test_gr_limmed 0xdead,0xbeef,gr8
72 set_gr_limmed 0xbeef,0xdead,gr8
75 cldu @(sp,gr7),gr8,cc1,0
76 test_gr_limmed 0xdead,0xbeef,gr8
79 set_gr_limmed 0xbeef,0xdead,gr8
82 cldu @(sp,gr7),gr8,cc5,0
83 test_gr_limmed 0xdead,0xbeef,gr8
87 set_mem_limmed 0xdead,0xbeef,sp
88 set_gr_limmed 0xbeef,0xdead,gr8
92 cldu @(sp,gr7),gr8,cc1,1
93 test_gr_limmed 0xbeef,0xdead,gr8
96 set_gr_limmed 0xbeef,0xdead,gr8
100 cldu @(sp,gr7),gr8,cc1,1
101 test_gr_limmed 0xbeef,0xdead,gr8
104 set_gr_limmed 0xbeef,0xdead,gr8
108 cldu @(sp,gr7),gr8,cc5,1
109 test_gr_limmed 0xbeef,0xdead,gr8
113 set_mem_limmed 0xdead,0xbeef,sp
114 set_gr_limmed 0xbeef,0xdead,gr8
118 cldu @(sp,gr7),gr8,cc2,0
119 test_gr_limmed 0xbeef,0xdead,gr8
122 set_gr_limmed 0xbeef,0xdead,gr8
126 cldu @(sp,gr7),gr8,cc2,1
127 test_gr_limmed 0xbeef,0xdead,gr8
130 set_gr_limmed 0xbeef,0xdead,gr8
134 cldu @(sp,gr7),gr8,cc6,0
135 test_gr_limmed 0xbeef,0xdead,gr8
139 set_mem_limmed 0xdead,0xbeef,sp
140 set_gr_limmed 0xbeef,0xdead,gr8
144 cldu @(sp,gr7),gr8,cc3,1
145 test_gr_limmed 0xbeef,0xdead,gr8
148 set_gr_limmed 0xbeef,0xdead,gr8
152 cldu @(sp,gr7),gr8,cc3,0
153 test_gr_limmed 0xbeef,0xdead,gr8
156 set_gr_limmed 0xbeef,0xdead,gr8
160 cldu @(sp,gr7),gr8,cc7,1
161 test_gr_limmed 0xbeef,0xdead,gr8
165 set_mem_limmed 0xdead,0xbeef,sp
169 cldu @(gr8,gr7),gr8,cc0,1
170 test_gr_limmed 0xdead,0xbeef,gr8