1 # frv testcase for cld @($GRi,$GRj),$GRk,$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
12 set_mem_limmed 0xdead,0xbeef,sp
13 set_gr_limmed 0xbeef,0xdead,gr8
16 cld @(sp,gr7),gr8,cc0,1
17 test_gr_limmed 0xdead,0xbeef,gr8
19 set_gr_limmed 0xbeef,0xdead,gr8
22 cld @(sp,gr7),gr8,cc0,1
23 test_gr_limmed 0xdead,0xbeef,gr8
25 set_gr_limmed 0xbeef,0xdead,gr8
28 cld @(sp,gr7),gr8,cc4,1
29 test_gr_limmed 0xdead,0xbeef,gr8
31 set_mem_limmed 0xdead,0xbeef,sp
32 set_gr_limmed 0xbeef,0xdead,gr8
35 cld @(sp,gr7),gr8,cc0,0
36 test_gr_limmed 0xbeef,0xdead,gr8
38 set_gr_limmed 0xbeef,0xdead,gr8
41 cld @(sp,gr7),gr8,cc0,0
42 test_gr_limmed 0xbeef,0xdead,gr8
44 set_gr_limmed 0xbeef,0xdead,gr8
47 cld @(sp,gr7),gr8,cc4,0
48 test_gr_limmed 0xbeef,0xdead,gr8
50 set_mem_limmed 0xdead,0xbeef,sp
51 set_gr_limmed 0xbeef,0xdead,gr8
54 cld @(sp,gr7),gr8,cc1,0
55 test_gr_limmed 0xdead,0xbeef,gr8
57 set_gr_limmed 0xbeef,0xdead,gr8
60 cld @(sp,gr7),gr8,cc1,0
61 test_gr_limmed 0xdead,0xbeef,gr8
63 set_gr_limmed 0xbeef,0xdead,gr8
66 cld @(sp,gr7),gr8,cc5,0
67 test_gr_limmed 0xdead,0xbeef,gr8
69 set_mem_limmed 0xdead,0xbeef,sp
70 set_gr_limmed 0xbeef,0xdead,gr8
73 cld @(sp,gr7),gr8,cc1,1
74 test_gr_limmed 0xbeef,0xdead,gr8
76 set_gr_limmed 0xbeef,0xdead,gr8
79 cld @(sp,gr7),gr8,cc1,1
80 test_gr_limmed 0xbeef,0xdead,gr8
82 set_gr_limmed 0xbeef,0xdead,gr8
85 cld @(sp,gr7),gr8,cc5,1
86 test_gr_limmed 0xbeef,0xdead,gr8
88 set_mem_limmed 0xdead,0xbeef,sp
89 set_gr_limmed 0xbeef,0xdead,gr8
92 cld @(sp,gr7),gr8,cc2,0
93 test_gr_limmed 0xbeef,0xdead,gr8
95 set_gr_limmed 0xbeef,0xdead,gr8
98 cld @(sp,gr7),gr8,cc2,0
99 test_gr_limmed 0xbeef,0xdead,gr8
101 set_gr_limmed 0xbeef,0xdead,gr8
104 cld @(sp,gr7),gr8,cc6,1
105 test_gr_limmed 0xbeef,0xdead,gr8
107 set_mem_limmed 0xdead,0xbeef,sp
108 set_gr_limmed 0xbeef,0xdead,gr8
111 cld @(sp,gr7),gr8,cc3,0
112 test_gr_limmed 0xbeef,0xdead,gr8
114 set_gr_limmed 0xbeef,0xdead,gr8
117 cld @(sp,gr7),gr8,cc3,0
118 test_gr_limmed 0xbeef,0xdead,gr8
120 set_gr_limmed 0xbeef,0xdead,gr8
123 cld @(sp,gr7),gr8,cc7,1
124 test_gr_limmed 0xbeef,0xdead,gr8