Bug 497723 - forgot to restore callgrind output cleanup
[valgrind.git] / none / tests / mips32 / msa_logical_and_shift.c
blobdfaa9c54fa90dc8f4026d94b9ff5a135b352b052
1 #include <stdio.h>
2 /* Independent tests for arithmetic instruction from MIPS32 MSA ASE instruction
3 set */
5 unsigned long long data[32] = {
6 0x0000000000000000ull, 0x0000000000000000ull,
7 0xffffffffffffffffull, 0xffffffffffffffffull,
8 0x0000000080000000ull, 0x8000000000000000ull,
9 0x8000800080008000ull, 0x7fff7fff7fff7fffull,
10 0x8080808080808080ull, 0x8080808080808080ull,
11 0x7070707070707070ull, 0x7070707070707070ull,
12 0x7f7f7f7f7f7f7f7full, 0x7f7f7f7f7f7f7f7full,
13 0x0706050403020100ull, 0x0f0e0d0c0b0a0908ull,
14 0x77665544332211ffull, 0xeeddccbbaa998877ull,
15 0x0000000000000001ull, 0x00000000000001ffull,
16 0x0000000000000001ull, 0x00000000000000ffull,
17 0xffffffffffffffffull, 0x0000000000000000ull,
18 0x0000000100000001ull, 0x0000000100000001ull,
19 0x1234567890abcdefull, 0xfedbca9876543210ull,
20 0x0403020114131211ull, 0x2423222134333231ull,
21 0x8483828194939291ull, 0xa4a3a2a1b4b3b2b1ull,
24 unsigned long long out[2];
26 #define TEST_2R(instruction, offset, WD, WS) \
27 { \
28 __asm__ volatile ( \
29 ".set push;\n\t" \
30 ".set noreorder;\n\t" \
31 "move $t0, %0\n\t" \
32 "ld.d $"#WD", "#offset"($t0)\n\t" \
33 "xori.b $"#WD", $"#WD", 0xff\n\t" \
34 "ld.d $"#WS", "#offset"($t0)\n\t" \
35 instruction" $"#WD", $"#WS"\n\t" \
36 "move $t0, %1\n\t" \
37 "st.d $"#WD", 0($t0)\n\t" \
38 ".set pop;\n\t" \
39 : \
40 : "r" (data), "r" (out) \
41 : "t0", "memory" \
42 ); \
43 printf(instruction" $"#WD", $"#WS" "#WD":" \
44 " %016llx%016llx "#WS": %016llx%016llx\n", \
45 out[1], out[0], data[offset / 8 + 1], data[offset / 8]); \
48 #define TEST_3R(instruction, offset1, offset2, WD, WS, WT) \
49 { \
50 __asm__ volatile ( \
51 ".set push;\n\t" \
52 ".set noreorder;\n\t" \
53 "move $t0, %0\n\t" \
54 "ld.d $"#WD", "#offset1"($t0)\n\t" \
55 "xori.b $"#WD", $"#WD", 0xff\n\t" \
56 "ld.d $"#WS", "#offset1"($t0)\n\t" \
57 "ld.d $"#WT", "#offset2"($t0)\n\t" \
58 instruction" $"#WD", $"#WS", $"#WT"\n\t" \
59 "move $t0, %1\n\t" \
60 "st.d $"#WD", 0($t0)\n\t" \
61 ".set pop;\n\t" \
62 : \
63 : "r" (data), "r" (out) \
64 : "t0", "memory" \
65 ); \
66 printf(instruction" $"#WD", $"#WS", $"#WT" "#WD":" \
67 " %016llx%016llx "#WS": %016llx%016llx "#WT": " \
68 "%016llx%016llx\n", out[1], out[0], data[offset1 / 8 + 1], \
69 data[offset1 / 8], data[offset2 / 8 + 1], data[offset2 / 8]);\
72 #define TEST_BIT(instruction, offset, WD, WS, n) \
73 { \
74 __asm__ volatile ( \
75 ".set push;\n\t" \
76 ".set noreorder;\n\t" \
77 "move $t0, %0\n\t" \
78 "ld.d $"#WD", "#offset"($t0)\n\t" \
79 "xori.b $"#WD", $"#WD", 0xff\n\t" \
80 "ld.d $"#WS", "#offset"($t0)\n\t" \
81 instruction" $"#WD", $"#WS", "#n"\n\t" \
82 "move $t0, %1\n\t" \
83 "st.d $"#WD", 0($t0)\n\t" \
84 ".set pop;\n\t" \
85 : \
86 : "r" (data), "r" (out) \
87 : "t0", "memory" \
88 ); \
89 printf(instruction" $"#WD", $"#WS", "#n" "#WD":" \
90 " %016llx%016llx "#WS": %016llx%016llx\n", \
91 out[1], out[0], data[offset / 8 + 1], data[offset / 8]); \
94 #define TEST_I8(instruction, offset, WD, WS, imm) \
95 { \
96 __asm__ volatile ( \
97 ".set push;\n\t" \
98 ".set noreorder;\n\t" \
99 "move $t0, %0\n\t" \
100 "ld.d $"#WD", "#offset"($t0)\n\t" \
101 "xori.b $"#WD", $"#WD", 0xff\n\t" \
102 "ld.d $"#WS", "#offset"($t0)\n\t" \
103 instruction" $"#WD", $"#WS", "#imm"\n\t" \
104 "move $t0, %1\n\t" \
105 "st.d $"#WD", 0($t0)\n\t" \
106 ".set pop;\n\t" \
108 : "r" (data), "r" (out) \
109 : "t0", "memory" \
110 ); \
111 printf(instruction" $"#WD", $"#WS", "#imm" "#WD":" \
112 " %016llx%016llx "#WS": %016llx%016llx\n", \
113 out[1], out[0], data[offset / 8 + 1], data[offset / 8]); \
116 int main(int argc, char **argv) {
117 #if defined(__mips_msa)
118 TEST_2R("nloc.b", 0, w0, w27);
119 TEST_2R("nloc.b", 8, w1, w31);
120 TEST_2R("nloc.b", 16, w2, w10);
121 TEST_2R("nloc.b", 24, w3, w23);
122 TEST_2R("nloc.b", 32, w4, w19);
123 TEST_2R("nloc.b", 40, w5, w23);
124 TEST_2R("nloc.b", 48, w6, w16);
125 TEST_2R("nloc.b", 56, w7, w12);
126 TEST_2R("nloc.b", 64, w8, w14);
127 TEST_2R("nloc.b", 72, w9, w11);
128 TEST_2R("nloc.b", 80, w10, w10);
129 TEST_2R("nloc.b", 88, w11, w25);
130 TEST_2R("nloc.b", 96, w12, w14);
131 TEST_2R("nloc.b", 104, w13, w13);
132 TEST_2R("nloc.b", 112, w14, w22);
133 TEST_2R("nloc.b", 120, w15, w4);
134 TEST_2R("nloc.b", 128, w16, w19);
135 TEST_2R("nloc.b", 136, w17, w18);
136 TEST_2R("nloc.b", 144, w18, w23);
137 TEST_2R("nloc.b", 152, w19, w28);
138 TEST_2R("nloc.b", 160, w20, w8);
139 TEST_2R("nloc.b", 168, w21, w6);
140 TEST_2R("nloc.b", 176, w22, w6);
141 TEST_2R("nloc.b", 184, w23, w15);
142 TEST_2R("nloc.b", 192, w24, w20);
143 TEST_2R("nloc.b", 200, w25, w3);
144 TEST_2R("nloc.b", 208, w26, w13);
145 TEST_2R("nloc.b", 216, w27, w25);
146 TEST_2R("nloc.b", 224, w28, w19);
147 TEST_2R("nloc.b", 232, w29, w7);
148 TEST_2R("nloc.b", 240, w30, w14);
149 TEST_2R("nloc.b", 144, w31, w18);
150 TEST_2R("nloc.h", 0, w0, w31);
151 TEST_2R("nloc.h", 8, w1, w7);
152 TEST_2R("nloc.h", 16, w2, w11);
153 TEST_2R("nloc.h", 24, w3, w5);
154 TEST_2R("nloc.h", 32, w4, w19);
155 TEST_2R("nloc.h", 40, w5, w18);
156 TEST_2R("nloc.h", 48, w6, w20);
157 TEST_2R("nloc.h", 56, w7, w14);
158 TEST_2R("nloc.h", 64, w8, w4);
159 TEST_2R("nloc.h", 72, w9, w23);
160 TEST_2R("nloc.h", 80, w10, w10);
161 TEST_2R("nloc.h", 88, w11, w16);
162 TEST_2R("nloc.h", 96, w12, w23);
163 TEST_2R("nloc.h", 104, w13, w13);
164 TEST_2R("nloc.h", 112, w14, w22);
165 TEST_2R("nloc.h", 120, w15, w19);
166 TEST_2R("nloc.h", 128, w16, w23);
167 TEST_2R("nloc.h", 136, w17, w15);
168 TEST_2R("nloc.h", 144, w18, w13);
169 TEST_2R("nloc.h", 152, w19, w1);
170 TEST_2R("nloc.h", 160, w20, w31);
171 TEST_2R("nloc.h", 168, w21, w31);
172 TEST_2R("nloc.h", 176, w22, w21);
173 TEST_2R("nloc.h", 184, w23, w29);
174 TEST_2R("nloc.h", 192, w24, w30);
175 TEST_2R("nloc.h", 200, w25, w10);
176 TEST_2R("nloc.h", 208, w26, w4);
177 TEST_2R("nloc.h", 216, w27, w3);
178 TEST_2R("nloc.h", 224, w28, w25);
179 TEST_2R("nloc.h", 232, w29, w17);
180 TEST_2R("nloc.h", 240, w30, w2);
181 TEST_2R("nloc.h", 216, w31, w25);
182 TEST_2R("nloc.w", 0, w0, w7);
183 TEST_2R("nloc.w", 8, w1, w28);
184 TEST_2R("nloc.w", 16, w2, w28);
185 TEST_2R("nloc.w", 24, w3, w16);
186 TEST_2R("nloc.w", 32, w4, w14);
187 TEST_2R("nloc.w", 40, w5, w15);
188 TEST_2R("nloc.w", 48, w6, w30);
189 TEST_2R("nloc.w", 56, w7, w31);
190 TEST_2R("nloc.w", 64, w8, w4);
191 TEST_2R("nloc.w", 72, w9, w11);
192 TEST_2R("nloc.w", 80, w10, w10);
193 TEST_2R("nloc.w", 88, w11, w21);
194 TEST_2R("nloc.w", 96, w12, w15);
195 TEST_2R("nloc.w", 104, w13, w13);
196 TEST_2R("nloc.w", 112, w14, w12);
197 TEST_2R("nloc.w", 120, w15, w16);
198 TEST_2R("nloc.w", 128, w16, w18);
199 TEST_2R("nloc.w", 136, w17, w22);
200 TEST_2R("nloc.w", 144, w18, w19);
201 TEST_2R("nloc.w", 152, w19, w13);
202 TEST_2R("nloc.w", 160, w20, w17);
203 TEST_2R("nloc.w", 168, w21, w7);
204 TEST_2R("nloc.w", 176, w22, w7);
205 TEST_2R("nloc.w", 184, w23, w14);
206 TEST_2R("nloc.w", 192, w24, w14);
207 TEST_2R("nloc.w", 200, w25, w10);
208 TEST_2R("nloc.w", 208, w26, w9);
209 TEST_2R("nloc.w", 216, w27, w26);
210 TEST_2R("nloc.w", 224, w28, w5);
211 TEST_2R("nloc.w", 232, w29, w7);
212 TEST_2R("nloc.w", 240, w30, w1);
213 TEST_2R("nloc.w", 40, w31, w1);
214 TEST_2R("nloc.d", 0, w0, w23);
215 TEST_2R("nloc.d", 8, w1, w10);
216 TEST_2R("nloc.d", 16, w2, w14);
217 TEST_2R("nloc.d", 24, w3, w10);
218 TEST_2R("nloc.d", 32, w4, w3);
219 TEST_2R("nloc.d", 40, w5, w25);
220 TEST_2R("nloc.d", 48, w6, w25);
221 TEST_2R("nloc.d", 56, w7, w4);
222 TEST_2R("nloc.d", 64, w8, w1);
223 TEST_2R("nloc.d", 72, w9, w12);
224 TEST_2R("nloc.d", 80, w10, w10);
225 TEST_2R("nloc.d", 88, w11, w5);
226 TEST_2R("nloc.d", 96, w12, w31);
227 TEST_2R("nloc.d", 104, w13, w13);
228 TEST_2R("nloc.d", 112, w14, w11);
229 TEST_2R("nloc.d", 120, w15, w26);
230 TEST_2R("nloc.d", 128, w16, w24);
231 TEST_2R("nloc.d", 136, w17, w26);
232 TEST_2R("nloc.d", 144, w18, w13);
233 TEST_2R("nloc.d", 152, w19, w15);
234 TEST_2R("nloc.d", 160, w20, w19);
235 TEST_2R("nloc.d", 168, w21, w19);
236 TEST_2R("nloc.d", 176, w22, w28);
237 TEST_2R("nloc.d", 184, w23, w30);
238 TEST_2R("nloc.d", 192, w24, w9);
239 TEST_2R("nloc.d", 200, w25, w5);
240 TEST_2R("nloc.d", 208, w26, w14);
241 TEST_2R("nloc.d", 216, w27, w31);
242 TEST_2R("nloc.d", 224, w28, w9);
243 TEST_2R("nloc.d", 232, w29, w31);
244 TEST_2R("nloc.d", 240, w30, w25);
245 TEST_2R("nloc.d", 120, w31, w0);
246 TEST_2R("nlzc.b", 0, w0, w16);
247 TEST_2R("nlzc.b", 8, w1, w12);
248 TEST_2R("nlzc.b", 16, w2, w13);
249 TEST_2R("nlzc.b", 24, w3, w8);
250 TEST_2R("nlzc.b", 32, w4, w6);
251 TEST_2R("nlzc.b", 40, w5, w13);
252 TEST_2R("nlzc.b", 48, w6, w18);
253 TEST_2R("nlzc.b", 56, w7, w7);
254 TEST_2R("nlzc.b", 64, w8, w7);
255 TEST_2R("nlzc.b", 72, w9, w8);
256 TEST_2R("nlzc.b", 80, w10, w19);
257 TEST_2R("nlzc.b", 88, w11, w5);
258 TEST_2R("nlzc.b", 96, w12, w21);
259 TEST_2R("nlzc.b", 104, w13, w11);
260 TEST_2R("nlzc.b", 112, w14, w26);
261 TEST_2R("nlzc.b", 120, w15, w15);
262 TEST_2R("nlzc.b", 128, w16, w0);
263 TEST_2R("nlzc.b", 136, w17, w16);
264 TEST_2R("nlzc.b", 144, w18, w13);
265 TEST_2R("nlzc.b", 152, w19, w12);
266 TEST_2R("nlzc.b", 160, w20, w7);
267 TEST_2R("nlzc.b", 168, w21, w27);
268 TEST_2R("nlzc.b", 176, w22, w30);
269 TEST_2R("nlzc.b", 184, w23, w7);
270 TEST_2R("nlzc.b", 192, w24, w14);
271 TEST_2R("nlzc.b", 200, w25, w0);
272 TEST_2R("nlzc.b", 208, w26, w25);
273 TEST_2R("nlzc.b", 216, w27, w3);
274 TEST_2R("nlzc.b", 224, w28, w12);
275 TEST_2R("nlzc.b", 232, w29, w24);
276 TEST_2R("nlzc.b", 240, w30, w24);
277 TEST_2R("nlzc.b", 40, w31, w16);
278 TEST_2R("nlzc.h", 0, w0, w26);
279 TEST_2R("nlzc.h", 8, w1, w9);
280 TEST_2R("nlzc.h", 16, w2, w12);
281 TEST_2R("nlzc.h", 24, w3, w28);
282 TEST_2R("nlzc.h", 32, w4, w6);
283 TEST_2R("nlzc.h", 40, w5, w8);
284 TEST_2R("nlzc.h", 48, w6, w25);
285 TEST_2R("nlzc.h", 56, w7, w7);
286 TEST_2R("nlzc.h", 64, w8, w17);
287 TEST_2R("nlzc.h", 72, w9, w29);
288 TEST_2R("nlzc.h", 80, w10, w27);
289 TEST_2R("nlzc.h", 88, w11, w20);
290 TEST_2R("nlzc.h", 96, w12, w3);
291 TEST_2R("nlzc.h", 104, w13, w27);
292 TEST_2R("nlzc.h", 112, w14, w5);
293 TEST_2R("nlzc.h", 120, w15, w15);
294 TEST_2R("nlzc.h", 128, w16, w6);
295 TEST_2R("nlzc.h", 136, w17, w8);
296 TEST_2R("nlzc.h", 144, w18, w6);
297 TEST_2R("nlzc.h", 152, w19, w5);
298 TEST_2R("nlzc.h", 160, w20, w8);
299 TEST_2R("nlzc.h", 168, w21, w25);
300 TEST_2R("nlzc.h", 176, w22, w15);
301 TEST_2R("nlzc.h", 184, w23, w31);
302 TEST_2R("nlzc.h", 192, w24, w4);
303 TEST_2R("nlzc.h", 200, w25, w2);
304 TEST_2R("nlzc.h", 208, w26, w24);
305 TEST_2R("nlzc.h", 216, w27, w10);
306 TEST_2R("nlzc.h", 224, w28, w23);
307 TEST_2R("nlzc.h", 232, w29, w28);
308 TEST_2R("nlzc.h", 240, w30, w12);
309 TEST_2R("nlzc.h", 16, w31, w0);
310 TEST_2R("nlzc.w", 0, w0, w6);
311 TEST_2R("nlzc.w", 8, w1, w25);
312 TEST_2R("nlzc.w", 16, w2, w22);
313 TEST_2R("nlzc.w", 24, w3, w26);
314 TEST_2R("nlzc.w", 32, w4, w22);
315 TEST_2R("nlzc.w", 40, w5, w17);
316 TEST_2R("nlzc.w", 48, w6, w20);
317 TEST_2R("nlzc.w", 56, w7, w7);
318 TEST_2R("nlzc.w", 64, w8, w26);
319 TEST_2R("nlzc.w", 72, w9, w3);
320 TEST_2R("nlzc.w", 80, w10, w29);
321 TEST_2R("nlzc.w", 88, w11, w21);
322 TEST_2R("nlzc.w", 96, w12, w18);
323 TEST_2R("nlzc.w", 104, w13, w31);
324 TEST_2R("nlzc.w", 112, w14, w8);
325 TEST_2R("nlzc.w", 120, w15, w15);
326 TEST_2R("nlzc.w", 128, w16, w15);
327 TEST_2R("nlzc.w", 136, w17, w5);
328 TEST_2R("nlzc.w", 144, w18, w26);
329 TEST_2R("nlzc.w", 152, w19, w0);
330 TEST_2R("nlzc.w", 160, w20, w13);
331 TEST_2R("nlzc.w", 168, w21, w26);
332 TEST_2R("nlzc.w", 176, w22, w29);
333 TEST_2R("nlzc.w", 184, w23, w1);
334 TEST_2R("nlzc.w", 192, w24, w9);
335 TEST_2R("nlzc.w", 200, w25, w5);
336 TEST_2R("nlzc.w", 208, w26, w2);
337 TEST_2R("nlzc.w", 216, w27, w14);
338 TEST_2R("nlzc.w", 224, w28, w20);
339 TEST_2R("nlzc.w", 232, w29, w12);
340 TEST_2R("nlzc.w", 240, w30, w18);
341 TEST_2R("nlzc.w", 24, w31, w12);
342 TEST_2R("nlzc.d", 0, w0, w17);
343 TEST_2R("nlzc.d", 8, w1, w21);
344 TEST_2R("nlzc.d", 16, w2, w1);
345 TEST_2R("nlzc.d", 24, w3, w27);
346 TEST_2R("nlzc.d", 32, w4, w20);
347 TEST_2R("nlzc.d", 40, w5, w1);
348 TEST_2R("nlzc.d", 48, w6, w19);
349 TEST_2R("nlzc.d", 56, w7, w7);
350 TEST_2R("nlzc.d", 64, w8, w25);
351 TEST_2R("nlzc.d", 72, w9, w1);
352 TEST_2R("nlzc.d", 80, w10, w31);
353 TEST_2R("nlzc.d", 88, w11, w0);
354 TEST_2R("nlzc.d", 96, w12, w7);
355 TEST_2R("nlzc.d", 104, w13, w25);
356 TEST_2R("nlzc.d", 112, w14, w3);
357 TEST_2R("nlzc.d", 120, w15, w15);
358 TEST_2R("nlzc.d", 128, w16, w8);
359 TEST_2R("nlzc.d", 136, w17, w23);
360 TEST_2R("nlzc.d", 144, w18, w3);
361 TEST_2R("nlzc.d", 152, w19, w31);
362 TEST_2R("nlzc.d", 160, w20, w19);
363 TEST_2R("nlzc.d", 168, w21, w14);
364 TEST_2R("nlzc.d", 176, w22, w0);
365 TEST_2R("nlzc.d", 184, w23, w17);
366 TEST_2R("nlzc.d", 192, w24, w5);
367 TEST_2R("nlzc.d", 200, w25, w28);
368 TEST_2R("nlzc.d", 208, w26, w30);
369 TEST_2R("nlzc.d", 216, w27, w31);
370 TEST_2R("nlzc.d", 224, w28, w8);
371 TEST_2R("nlzc.d", 232, w29, w2);
372 TEST_2R("nlzc.d", 240, w30, w2);
373 TEST_2R("nlzc.d", 224, w31, w24);
374 TEST_2R("pcnt.b", 0, w0, w14);
375 TEST_2R("pcnt.b", 8, w1, w15);
376 TEST_2R("pcnt.b", 16, w2, w7);
377 TEST_2R("pcnt.b", 24, w3, w13);
378 TEST_2R("pcnt.b", 32, w4, w4);
379 TEST_2R("pcnt.b", 40, w5, w24);
380 TEST_2R("pcnt.b", 48, w6, w9);
381 TEST_2R("pcnt.b", 56, w7, w24);
382 TEST_2R("pcnt.b", 64, w8, w16);
383 TEST_2R("pcnt.b", 72, w9, w7);
384 TEST_2R("pcnt.b", 80, w10, w21);
385 TEST_2R("pcnt.b", 88, w11, w26);
386 TEST_2R("pcnt.b", 96, w12, w19);
387 TEST_2R("pcnt.b", 104, w13, w17);
388 TEST_2R("pcnt.b", 112, w14, w11);
389 TEST_2R("pcnt.b", 120, w15, w15);
390 TEST_2R("pcnt.b", 128, w16, w7);
391 TEST_2R("pcnt.b", 136, w17, w7);
392 TEST_2R("pcnt.b", 144, w18, w27);
393 TEST_2R("pcnt.b", 152, w19, w4);
394 TEST_2R("pcnt.b", 160, w20, w27);
395 TEST_2R("pcnt.b", 168, w21, w1);
396 TEST_2R("pcnt.b", 176, w22, w13);
397 TEST_2R("pcnt.b", 184, w23, w5);
398 TEST_2R("pcnt.b", 192, w24, w5);
399 TEST_2R("pcnt.b", 200, w25, w30);
400 TEST_2R("pcnt.b", 208, w26, w23);
401 TEST_2R("pcnt.b", 216, w27, w12);
402 TEST_2R("pcnt.b", 224, w28, w0);
403 TEST_2R("pcnt.b", 232, w29, w26);
404 TEST_2R("pcnt.b", 240, w30, w29);
405 TEST_2R("pcnt.b", 200, w31, w19);
406 TEST_2R("pcnt.h", 0, w0, w15);
407 TEST_2R("pcnt.h", 8, w1, w6);
408 TEST_2R("pcnt.h", 16, w2, w14);
409 TEST_2R("pcnt.h", 24, w3, w18);
410 TEST_2R("pcnt.h", 32, w4, w4);
411 TEST_2R("pcnt.h", 40, w5, w31);
412 TEST_2R("pcnt.h", 48, w6, w20);
413 TEST_2R("pcnt.h", 56, w7, w2);
414 TEST_2R("pcnt.h", 64, w8, w15);
415 TEST_2R("pcnt.h", 72, w9, w1);
416 TEST_2R("pcnt.h", 80, w10, w18);
417 TEST_2R("pcnt.h", 88, w11, w24);
418 TEST_2R("pcnt.h", 96, w12, w21);
419 TEST_2R("pcnt.h", 104, w13, w31);
420 TEST_2R("pcnt.h", 112, w14, w3);
421 TEST_2R("pcnt.h", 120, w15, w15);
422 TEST_2R("pcnt.h", 128, w16, w0);
423 TEST_2R("pcnt.h", 136, w17, w20);
424 TEST_2R("pcnt.h", 144, w18, w10);
425 TEST_2R("pcnt.h", 152, w19, w29);
426 TEST_2R("pcnt.h", 160, w20, w9);
427 TEST_2R("pcnt.h", 168, w21, w29);
428 TEST_2R("pcnt.h", 176, w22, w9);
429 TEST_2R("pcnt.h", 184, w23, w28);
430 TEST_2R("pcnt.h", 192, w24, w20);
431 TEST_2R("pcnt.h", 200, w25, w19);
432 TEST_2R("pcnt.h", 208, w26, w30);
433 TEST_2R("pcnt.h", 216, w27, w19);
434 TEST_2R("pcnt.h", 224, w28, w0);
435 TEST_2R("pcnt.h", 232, w29, w8);
436 TEST_2R("pcnt.h", 240, w30, w0);
437 TEST_2R("pcnt.h", 208, w31, w19);
438 TEST_2R("pcnt.w", 0, w0, w12);
439 TEST_2R("pcnt.w", 8, w1, w27);
440 TEST_2R("pcnt.w", 16, w2, w21);
441 TEST_2R("pcnt.w", 24, w3, w2);
442 TEST_2R("pcnt.w", 32, w4, w4);
443 TEST_2R("pcnt.w", 40, w5, w8);
444 TEST_2R("pcnt.w", 48, w6, w27);
445 TEST_2R("pcnt.w", 56, w7, w8);
446 TEST_2R("pcnt.w", 64, w8, w11);
447 TEST_2R("pcnt.w", 72, w9, w20);
448 TEST_2R("pcnt.w", 80, w10, w4);
449 TEST_2R("pcnt.w", 88, w11, w10);
450 TEST_2R("pcnt.w", 96, w12, w29);
451 TEST_2R("pcnt.w", 104, w13, w31);
452 TEST_2R("pcnt.w", 112, w14, w11);
453 TEST_2R("pcnt.w", 120, w15, w15);
454 TEST_2R("pcnt.w", 128, w16, w23);
455 TEST_2R("pcnt.w", 136, w17, w13);
456 TEST_2R("pcnt.w", 144, w18, w27);
457 TEST_2R("pcnt.w", 152, w19, w29);
458 TEST_2R("pcnt.w", 160, w20, w7);
459 TEST_2R("pcnt.w", 168, w21, w15);
460 TEST_2R("pcnt.w", 176, w22, w30);
461 TEST_2R("pcnt.w", 184, w23, w5);
462 TEST_2R("pcnt.w", 192, w24, w27);
463 TEST_2R("pcnt.w", 200, w25, w31);
464 TEST_2R("pcnt.w", 208, w26, w15);
465 TEST_2R("pcnt.w", 216, w27, w11);
466 TEST_2R("pcnt.w", 224, w28, w22);
467 TEST_2R("pcnt.w", 232, w29, w18);
468 TEST_2R("pcnt.w", 240, w30, w1);
469 TEST_2R("pcnt.w", 24, w31, w23);
470 TEST_2R("pcnt.d", 0, w0, w18);
471 TEST_2R("pcnt.d", 8, w1, w19);
472 TEST_2R("pcnt.d", 16, w2, w16);
473 TEST_2R("pcnt.d", 24, w3, w8);
474 TEST_2R("pcnt.d", 32, w4, w4);
475 TEST_2R("pcnt.d", 40, w5, w24);
476 TEST_2R("pcnt.d", 48, w6, w20);
477 TEST_2R("pcnt.d", 56, w7, w27);
478 TEST_2R("pcnt.d", 64, w8, w22);
479 TEST_2R("pcnt.d", 72, w9, w21);
480 TEST_2R("pcnt.d", 80, w10, w11);
481 TEST_2R("pcnt.d", 88, w11, w15);
482 TEST_2R("pcnt.d", 96, w12, w2);
483 TEST_2R("pcnt.d", 104, w13, w10);
484 TEST_2R("pcnt.d", 112, w14, w2);
485 TEST_2R("pcnt.d", 120, w15, w15);
486 TEST_2R("pcnt.d", 128, w16, w6);
487 TEST_2R("pcnt.d", 136, w17, w14);
488 TEST_2R("pcnt.d", 144, w18, w31);
489 TEST_2R("pcnt.d", 152, w19, w27);
490 TEST_2R("pcnt.d", 160, w20, w15);
491 TEST_2R("pcnt.d", 168, w21, w15);
492 TEST_2R("pcnt.d", 176, w22, w1);
493 TEST_2R("pcnt.d", 184, w23, w1);
494 TEST_2R("pcnt.d", 192, w24, w27);
495 TEST_2R("pcnt.d", 200, w25, w8);
496 TEST_2R("pcnt.d", 208, w26, w21);
497 TEST_2R("pcnt.d", 216, w27, w9);
498 TEST_2R("pcnt.d", 224, w28, w23);
499 TEST_2R("pcnt.d", 232, w29, w12);
500 TEST_2R("pcnt.d", 240, w30, w25);
501 TEST_2R("pcnt.d", 128, w31, w5);
502 TEST_3R("bclr.b", 0, 24, w0, w10, w18);
503 TEST_3R("bclr.b", 8, 96, w1, w30, w2);
504 TEST_3R("bclr.b", 16, 48, w2, w13, w12);
505 TEST_3R("bclr.b", 24, 80, w3, w19, w13);
506 TEST_3R("bclr.b", 32, 104, w4, w15, w19);
507 TEST_3R("bclr.b", 40, 168, w5, w22, w8);
508 TEST_3R("bclr.b", 48, 224, w6, w0, w30);
509 TEST_3R("bclr.b", 56, 152, w7, w12, w3);
510 TEST_3R("bclr.b", 64, 152, w8, w20, w26);
511 TEST_3R("bclr.b", 72, 8, w9, w27, w17);
512 TEST_3R("bclr.b", 80, 40, w10, w5, w4);
513 TEST_3R("bclr.b", 88, 144, w11, w3, w6);
514 TEST_3R("bclr.b", 96, 200, w12, w17, w18);
515 TEST_3R("bclr.b", 104, 152, w13, w4, w0);
516 TEST_3R("bclr.b", 112, 136, w14, w19, w11);
517 TEST_3R("bclr.b", 120, 72, w15, w27, w21);
518 TEST_3R("bclr.b", 128, 48, w16, w25, w22);
519 TEST_3R("bclr.b", 136, 40, w17, w28, w16);
520 TEST_3R("bclr.b", 144, 192, w18, w4, w11);
521 TEST_3R("bclr.b", 152, 216, w19, w19, w0);
522 TEST_3R("bclr.b", 160, 128, w20, w5, w0);
523 TEST_3R("bclr.b", 168, 160, w21, w9, w9);
524 TEST_3R("bclr.b", 176, 32, w22, w22, w22);
525 TEST_3R("bclr.b", 184, 184, w23, w26, w23);
526 TEST_3R("bclr.b", 192, 136, w24, w30, w25);
527 TEST_3R("bclr.b", 200, 168, w25, w18, w12);
528 TEST_3R("bclr.b", 208, 232, w26, w28, w7);
529 TEST_3R("bclr.b", 216, 48, w27, w6, w0);
530 TEST_3R("bclr.b", 224, 64, w28, w29, w20);
531 TEST_3R("bclr.b", 232, 24, w29, w1, w31);
532 TEST_3R("bclr.b", 240, 104, w30, w1, w27);
533 TEST_3R("bclr.b", 64, 0, w31, w7, w28);
534 TEST_3R("bclr.h", 0, 152, w0, w2, w19);
535 TEST_3R("bclr.h", 8, 120, w1, w27, w17);
536 TEST_3R("bclr.h", 16, 24, w2, w20, w30);
537 TEST_3R("bclr.h", 24, 176, w3, w0, w23);
538 TEST_3R("bclr.h", 32, 184, w4, w7, w28);
539 TEST_3R("bclr.h", 40, 48, w5, w8, w25);
540 TEST_3R("bclr.h", 48, 128, w6, w28, w0);
541 TEST_3R("bclr.h", 56, 0, w7, w27, w8);
542 TEST_3R("bclr.h", 64, 160, w8, w11, w15);
543 TEST_3R("bclr.h", 72, 0, w9, w27, w31);
544 TEST_3R("bclr.h", 80, 144, w10, w14, w9);
545 TEST_3R("bclr.h", 88, 64, w11, w0, w17);
546 TEST_3R("bclr.h", 96, 144, w12, w30, w5);
547 TEST_3R("bclr.h", 104, 232, w13, w2, w26);
548 TEST_3R("bclr.h", 112, 72, w14, w21, w2);
549 TEST_3R("bclr.h", 120, 216, w15, w26, w30);
550 TEST_3R("bclr.h", 128, 144, w16, w0, w25);
551 TEST_3R("bclr.h", 136, 56, w17, w8, w15);
552 TEST_3R("bclr.h", 144, 88, w18, w23, w2);
553 TEST_3R("bclr.h", 152, 112, w19, w19, w22);
554 TEST_3R("bclr.h", 160, 16, w20, w8, w31);
555 TEST_3R("bclr.h", 168, 192, w21, w8, w8);
556 TEST_3R("bclr.h", 176, 88, w22, w22, w22);
557 TEST_3R("bclr.h", 184, 200, w23, w6, w23);
558 TEST_3R("bclr.h", 192, 24, w24, w18, w28);
559 TEST_3R("bclr.h", 200, 24, w25, w31, w22);
560 TEST_3R("bclr.h", 208, 208, w26, w20, w24);
561 TEST_3R("bclr.h", 216, 184, w27, w14, w22);
562 TEST_3R("bclr.h", 224, 208, w28, w14, w15);
563 TEST_3R("bclr.h", 232, 144, w29, w23, w30);
564 TEST_3R("bclr.h", 240, 232, w30, w14, w0);
565 TEST_3R("bclr.h", 80, 0, w31, w5, w23);
566 TEST_3R("bclr.w", 0, 32, w0, w31, w10);
567 TEST_3R("bclr.w", 8, 112, w1, w11, w16);
568 TEST_3R("bclr.w", 16, 144, w2, w29, w12);
569 TEST_3R("bclr.w", 24, 48, w3, w28, w2);
570 TEST_3R("bclr.w", 32, 16, w4, w16, w26);
571 TEST_3R("bclr.w", 40, 80, w5, w30, w16);
572 TEST_3R("bclr.w", 48, 48, w6, w13, w31);
573 TEST_3R("bclr.w", 56, 200, w7, w4, w30);
574 TEST_3R("bclr.w", 64, 64, w8, w18, w30);
575 TEST_3R("bclr.w", 72, 64, w9, w23, w22);
576 TEST_3R("bclr.w", 80, 8, w10, w28, w21);
577 TEST_3R("bclr.w", 88, 216, w11, w17, w0);
578 TEST_3R("bclr.w", 96, 8, w12, w4, w30);
579 TEST_3R("bclr.w", 104, 168, w13, w22, w26);
580 TEST_3R("bclr.w", 112, 184, w14, w6, w11);
581 TEST_3R("bclr.w", 120, 104, w15, w13, w9);
582 TEST_3R("bclr.w", 128, 8, w16, w3, w22);
583 TEST_3R("bclr.w", 136, 144, w17, w26, w6);
584 TEST_3R("bclr.w", 144, 208, w18, w13, w4);
585 TEST_3R("bclr.w", 152, 168, w19, w19, w4);
586 TEST_3R("bclr.w", 160, 168, w20, w24, w0);
587 TEST_3R("bclr.w", 168, 208, w21, w22, w22);
588 TEST_3R("bclr.w", 176, 96, w22, w22, w22);
589 TEST_3R("bclr.w", 184, 176, w23, w5, w23);
590 TEST_3R("bclr.w", 192, 56, w24, w14, w0);
591 TEST_3R("bclr.w", 200, 96, w25, w8, w29);
592 TEST_3R("bclr.w", 208, 160, w26, w19, w21);
593 TEST_3R("bclr.w", 216, 176, w27, w29, w30);
594 TEST_3R("bclr.w", 224, 120, w28, w19, w6);
595 TEST_3R("bclr.w", 232, 32, w29, w14, w12);
596 TEST_3R("bclr.w", 240, 112, w30, w27, w16);
597 TEST_3R("bclr.w", 168, 48, w31, w11, w13);
598 TEST_3R("bclr.d", 0, 136, w0, w3, w18);
599 TEST_3R("bclr.d", 8, 232, w1, w8, w24);
600 TEST_3R("bclr.d", 16, 64, w2, w20, w1);
601 TEST_3R("bclr.d", 24, 72, w3, w6, w20);
602 TEST_3R("bclr.d", 32, 184, w4, w6, w17);
603 TEST_3R("bclr.d", 40, 176, w5, w9, w31);
604 TEST_3R("bclr.d", 48, 208, w6, w19, w11);
605 TEST_3R("bclr.d", 56, 88, w7, w14, w28);
606 TEST_3R("bclr.d", 64, 232, w8, w13, w7);
607 TEST_3R("bclr.d", 72, 56, w9, w13, w1);
608 TEST_3R("bclr.d", 80, 16, w10, w31, w12);
609 TEST_3R("bclr.d", 88, 8, w11, w7, w4);
610 TEST_3R("bclr.d", 96, 192, w12, w27, w5);
611 TEST_3R("bclr.d", 104, 24, w13, w2, w26);
612 TEST_3R("bclr.d", 112, 216, w14, w8, w11);
613 TEST_3R("bclr.d", 120, 16, w15, w18, w16);
614 TEST_3R("bclr.d", 128, 160, w16, w25, w3);
615 TEST_3R("bclr.d", 136, 40, w17, w16, w15);
616 TEST_3R("bclr.d", 144, 144, w18, w31, w22);
617 TEST_3R("bclr.d", 152, 64, w19, w19, w12);
618 TEST_3R("bclr.d", 160, 208, w20, w16, w12);
619 TEST_3R("bclr.d", 168, 96, w21, w20, w20);
620 TEST_3R("bclr.d", 176, 200, w22, w22, w22);
621 TEST_3R("bclr.d", 184, 104, w23, w1, w23);
622 TEST_3R("bclr.d", 192, 208, w24, w13, w20);
623 TEST_3R("bclr.d", 200, 72, w25, w7, w3);
624 TEST_3R("bclr.d", 208, 232, w26, w19, w11);
625 TEST_3R("bclr.d", 216, 96, w27, w3, w18);
626 TEST_3R("bclr.d", 224, 48, w28, w7, w5);
627 TEST_3R("bclr.d", 232, 208, w29, w24, w20);
628 TEST_3R("bclr.d", 240, 112, w30, w23, w10);
629 TEST_3R("bclr.d", 208, 80, w31, w4, w2);
630 TEST_3R("binsl.b", 0, 200, w0, w10, w18);
631 TEST_3R("binsl.b", 8, 128, w1, w30, w3);
632 TEST_3R("binsl.b", 16, 32, w2, w1, w29);
633 TEST_3R("binsl.b", 24, 200, w3, w12, w3);
634 TEST_3R("binsl.b", 32, 168, w4, w25, w31);
635 TEST_3R("binsl.b", 40, 96, w5, w5, w5);
636 TEST_3R("binsl.b", 48, 216, w6, w4, w1);
637 TEST_3R("binsl.b", 56, 64, w7, w25, w17);
638 TEST_3R("binsl.b", 64, 176, w8, w8, w3);
639 TEST_3R("binsl.b", 72, 136, w9, w20, w5);
640 TEST_3R("binsl.b", 80, 192, w10, w4, w11);
641 TEST_3R("binsl.b", 88, 120, w11, w7, w24);
642 TEST_3R("binsl.b", 96, 232, w12, w26, w19);
643 TEST_3R("binsl.b", 104, 64, w13, w29, w29);
644 TEST_3R("binsl.b", 112, 104, w14, w28, w26);
645 TEST_3R("binsl.b", 120, 160, w15, w8, w3);
646 TEST_3R("binsl.b", 128, 88, w16, w7, w4);
647 TEST_3R("binsl.b", 136, 144, w17, w29, w5);
648 TEST_3R("binsl.b", 144, 200, w18, w13, w8);
649 TEST_3R("binsl.b", 152, 208, w19, w1, w14);
650 TEST_3R("binsl.b", 160, 160, w20, w5, w25);
651 TEST_3R("binsl.b", 168, 160, w21, w12, w17);
652 TEST_3R("binsl.b", 176, 152, w22, w6, w5);
653 TEST_3R("binsl.b", 184, 112, w23, w4, w27);
654 TEST_3R("binsl.b", 192, 216, w24, w30, w6);
655 TEST_3R("binsl.b", 200, 80, w25, w1, w11);
656 TEST_3R("binsl.b", 208, 48, w26, w17, w15);
657 TEST_3R("binsl.b", 216, 112, w27, w3, w12);
658 TEST_3R("binsl.b", 224, 112, w28, w6, w25);
659 TEST_3R("binsl.b", 232, 40, w29, w30, w26);
660 TEST_3R("binsl.b", 240, 16, w30, w0, w31);
661 TEST_3R("binsl.b", 112, 104, w31, w20, w12);
662 TEST_3R("binsl.h", 0, 24, w0, w18, w13);
663 TEST_3R("binsl.h", 8, 16, w1, w22, w8);
664 TEST_3R("binsl.h", 16, 0, w2, w21, w15);
665 TEST_3R("binsl.h", 24, 152, w3, w22, w3);
666 TEST_3R("binsl.h", 32, 40, w4, w27, w8);
667 TEST_3R("binsl.h", 40, 120, w5, w5, w5);
668 TEST_3R("binsl.h", 48, 112, w6, w11, w22);
669 TEST_3R("binsl.h", 56, 96, w7, w17, w15);
670 TEST_3R("binsl.h", 64, 24, w8, w8, w15);
671 TEST_3R("binsl.h", 72, 200, w9, w19, w16);
672 TEST_3R("binsl.h", 80, 144, w10, w4, w21);
673 TEST_3R("binsl.h", 88, 144, w11, w9, w8);
674 TEST_3R("binsl.h", 96, 104, w12, w24, w30);
675 TEST_3R("binsl.h", 104, 16, w13, w19, w19);
676 TEST_3R("binsl.h", 112, 48, w14, w18, w10);
677 TEST_3R("binsl.h", 120, 200, w15, w13, w18);
678 TEST_3R("binsl.h", 128, 0, w16, w10, w29);
679 TEST_3R("binsl.h", 136, 96, w17, w15, w14);
680 TEST_3R("binsl.h", 144, 232, w18, w4, w29);
681 TEST_3R("binsl.h", 152, 192, w19, w23, w13);
682 TEST_3R("binsl.h", 160, 56, w20, w1, w18);
683 TEST_3R("binsl.h", 168, 64, w21, w20, w27);
684 TEST_3R("binsl.h", 176, 80, w22, w20, w19);
685 TEST_3R("binsl.h", 184, 208, w23, w28, w0);
686 TEST_3R("binsl.h", 192, 24, w24, w20, w18);
687 TEST_3R("binsl.h", 200, 136, w25, w5, w31);
688 TEST_3R("binsl.h", 208, 40, w26, w0, w10);
689 TEST_3R("binsl.h", 216, 216, w27, w17, w25);
690 TEST_3R("binsl.h", 224, 136, w28, w18, w30);
691 TEST_3R("binsl.h", 232, 64, w29, w28, w21);
692 TEST_3R("binsl.h", 240, 224, w30, w16, w23);
693 TEST_3R("binsl.h", 72, 0, w31, w26, w11);
694 TEST_3R("binsl.w", 0, 24, w0, w31, w21);
695 TEST_3R("binsl.w", 8, 232, w1, w27, w22);
696 TEST_3R("binsl.w", 16, 24, w2, w15, w8);
697 TEST_3R("binsl.w", 24, 216, w3, w21, w3);
698 TEST_3R("binsl.w", 32, 192, w4, w12, w21);
699 TEST_3R("binsl.w", 40, 88, w5, w5, w5);
700 TEST_3R("binsl.w", 48, 176, w6, w7, w11);
701 TEST_3R("binsl.w", 56, 72, w7, w25, w9);
702 TEST_3R("binsl.w", 64, 136, w8, w8, w21);
703 TEST_3R("binsl.w", 72, 0, w9, w16, w6);
704 TEST_3R("binsl.w", 80, 128, w10, w24, w0);
705 TEST_3R("binsl.w", 88, 16, w11, w26, w0);
706 TEST_3R("binsl.w", 96, 48, w12, w7, w27);
707 TEST_3R("binsl.w", 104, 8, w13, w6, w6);
708 TEST_3R("binsl.w", 112, 208, w14, w18, w0);
709 TEST_3R("binsl.w", 120, 168, w15, w30, w21);
710 TEST_3R("binsl.w", 128, 192, w16, w7, w28);
711 TEST_3R("binsl.w", 136, 232, w17, w26, w21);
712 TEST_3R("binsl.w", 144, 8, w18, w21, w11);
713 TEST_3R("binsl.w", 152, 128, w19, w5, w17);
714 TEST_3R("binsl.w", 160, 16, w20, w29, w17);
715 TEST_3R("binsl.w", 168, 192, w21, w24, w28);
716 TEST_3R("binsl.w", 176, 200, w22, w8, w3);
717 TEST_3R("binsl.w", 184, 88, w23, w14, w9);
718 TEST_3R("binsl.w", 192, 224, w24, w28, w26);
719 TEST_3R("binsl.w", 200, 152, w25, w26, w15);
720 TEST_3R("binsl.w", 208, 104, w26, w1, w12);
721 TEST_3R("binsl.w", 216, 224, w27, w1, w13);
722 TEST_3R("binsl.w", 224, 160, w28, w12, w9);
723 TEST_3R("binsl.w", 232, 136, w29, w28, w19);
724 TEST_3R("binsl.w", 240, 184, w30, w15, w11);
725 TEST_3R("binsl.w", 160, 232, w31, w3, w19);
726 TEST_3R("binsl.d", 0, 8, w0, w1, w24);
727 TEST_3R("binsl.d", 8, 48, w1, w30, w20);
728 TEST_3R("binsl.d", 16, 176, w2, w17, w14);
729 TEST_3R("binsl.d", 24, 176, w3, w12, w3);
730 TEST_3R("binsl.d", 32, 232, w4, w1, w28);
731 TEST_3R("binsl.d", 40, 0, w5, w5, w5);
732 TEST_3R("binsl.d", 48, 56, w6, w9, w28);
733 TEST_3R("binsl.d", 56, 216, w7, w18, w13);
734 TEST_3R("binsl.d", 64, 40, w8, w8, w5);
735 TEST_3R("binsl.d", 72, 96, w9, w30, w17);
736 TEST_3R("binsl.d", 80, 96, w10, w1, w4);
737 TEST_3R("binsl.d", 88, 152, w11, w19, w6);
738 TEST_3R("binsl.d", 96, 80, w12, w31, w4);
739 TEST_3R("binsl.d", 104, 32, w13, w5, w5);
740 TEST_3R("binsl.d", 112, 80, w14, w15, w26);
741 TEST_3R("binsl.d", 120, 232, w15, w31, w28);
742 TEST_3R("binsl.d", 128, 0, w16, w11, w31);
743 TEST_3R("binsl.d", 136, 232, w17, w7, w14);
744 TEST_3R("binsl.d", 144, 208, w18, w25, w27);
745 TEST_3R("binsl.d", 152, 192, w19, w30, w23);
746 TEST_3R("binsl.d", 160, 16, w20, w15, w29);
747 TEST_3R("binsl.d", 168, 120, w21, w20, w18);
748 TEST_3R("binsl.d", 176, 232, w22, w26, w31);
749 TEST_3R("binsl.d", 184, 24, w23, w30, w0);
750 TEST_3R("binsl.d", 192, 120, w24, w19, w16);
751 TEST_3R("binsl.d", 200, 144, w25, w20, w15);
752 TEST_3R("binsl.d", 208, 104, w26, w18, w19);
753 TEST_3R("binsl.d", 216, 24, w27, w1, w17);
754 TEST_3R("binsl.d", 224, 120, w28, w29, w25);
755 TEST_3R("binsl.d", 232, 168, w29, w20, w30);
756 TEST_3R("binsl.d", 240, 40, w30, w17, w5);
757 TEST_3R("binsl.d", 0, 144, w31, w4, w30);
758 TEST_3R("binsr.b", 0, 152, w0, w20, w12);
759 TEST_3R("binsr.b", 8, 8, w1, w3, w0);
760 TEST_3R("binsr.b", 16, 224, w2, w30, w19);
761 TEST_3R("binsr.b", 24, 200, w3, w31, w21);
762 TEST_3R("binsr.b", 32, 176, w4, w26, w4);
763 TEST_3R("binsr.b", 40, 0, w5, w17, w19);
764 TEST_3R("binsr.b", 48, 80, w6, w15, w27);
765 TEST_3R("binsr.b", 56, 168, w7, w20, w20);
766 TEST_3R("binsr.b", 64, 72, w8, w27, w19);
767 TEST_3R("binsr.b", 72, 96, w9, w31, w10);
768 TEST_3R("binsr.b", 80, 24, w10, w3, w30);
769 TEST_3R("binsr.b", 88, 184, w11, w23, w6);
770 TEST_3R("binsr.b", 96, 200, w12, w11, w20);
771 TEST_3R("binsr.b", 104, 24, w13, w31, w27);
772 TEST_3R("binsr.b", 112, 224, w14, w20, w19);
773 TEST_3R("binsr.b", 120, 64, w15, w6, w4);
774 TEST_3R("binsr.b", 128, 192, w16, w12, w19);
775 TEST_3R("binsr.b", 136, 120, w17, w3, w8);
776 TEST_3R("binsr.b", 144, 64, w18, w31, w27);
777 TEST_3R("binsr.b", 152, 40, w19, w30, w5);
778 TEST_3R("binsr.b", 160, 80, w20, w20, w1);
779 TEST_3R("binsr.b", 168, 184, w21, w20, w24);
780 TEST_3R("binsr.b", 176, 8, w22, w27, w18);
781 TEST_3R("binsr.b", 184, 56, w23, w23, w23);
782 TEST_3R("binsr.b", 192, 104, w24, w11, w25);
783 TEST_3R("binsr.b", 200, 232, w25, w3, w13);
784 TEST_3R("binsr.b", 208, 16, w26, w21, w19);
785 TEST_3R("binsr.b", 216, 192, w27, w26, w31);
786 TEST_3R("binsr.b", 224, 200, w28, w26, w2);
787 TEST_3R("binsr.b", 232, 200, w29, w19, w1);
788 TEST_3R("binsr.b", 240, 216, w30, w26, w31);
789 TEST_3R("binsr.b", 88, 176, w31, w4, w0);
790 TEST_3R("binsr.h", 0, 192, w0, w24, w15);
791 TEST_3R("binsr.h", 8, 16, w1, w11, w9);
792 TEST_3R("binsr.h", 16, 120, w2, w22, w13);
793 TEST_3R("binsr.h", 24, 152, w3, w15, w11);
794 TEST_3R("binsr.h", 32, 120, w4, w2, w4);
795 TEST_3R("binsr.h", 40, 80, w5, w8, w1);
796 TEST_3R("binsr.h", 48, 152, w6, w2, w3);
797 TEST_3R("binsr.h", 56, 144, w7, w21, w21);
798 TEST_3R("binsr.h", 64, 224, w8, w22, w15);
799 TEST_3R("binsr.h", 72, 144, w9, w19, w5);
800 TEST_3R("binsr.h", 80, 144, w10, w12, w29);
801 TEST_3R("binsr.h", 88, 152, w11, w31, w8);
802 TEST_3R("binsr.h", 96, 104, w12, w2, w30);
803 TEST_3R("binsr.h", 104, 104, w13, w16, w23);
804 TEST_3R("binsr.h", 112, 168, w14, w27, w5);
805 TEST_3R("binsr.h", 120, 112, w15, w7, w13);
806 TEST_3R("binsr.h", 128, 0, w16, w9, w3);
807 TEST_3R("binsr.h", 136, 120, w17, w5, w8);
808 TEST_3R("binsr.h", 144, 208, w18, w21, w13);
809 TEST_3R("binsr.h", 152, 112, w19, w8, w18);
810 TEST_3R("binsr.h", 160, 136, w20, w20, w15);
811 TEST_3R("binsr.h", 168, 160, w21, w20, w24);
812 TEST_3R("binsr.h", 176, 8, w22, w2, w6);
813 TEST_3R("binsr.h", 184, 8, w23, w23, w23);
814 TEST_3R("binsr.h", 192, 184, w24, w1, w19);
815 TEST_3R("binsr.h", 200, 168, w25, w9, w1);
816 TEST_3R("binsr.h", 208, 176, w26, w18, w17);
817 TEST_3R("binsr.h", 216, 88, w27, w25, w22);
818 TEST_3R("binsr.h", 224, 224, w28, w23, w11);
819 TEST_3R("binsr.h", 232, 40, w29, w9, w20);
820 TEST_3R("binsr.h", 240, 88, w30, w14, w8);
821 TEST_3R("binsr.h", 152, 160, w31, w23, w28);
822 TEST_3R("binsr.w", 0, 184, w0, w19, w7);
823 TEST_3R("binsr.w", 8, 200, w1, w25, w21);
824 TEST_3R("binsr.w", 16, 24, w2, w27, w9);
825 TEST_3R("binsr.w", 24, 200, w3, w4, w10);
826 TEST_3R("binsr.w", 32, 184, w4, w22, w4);
827 TEST_3R("binsr.w", 40, 32, w5, w12, w15);
828 TEST_3R("binsr.w", 48, 200, w6, w23, w7);
829 TEST_3R("binsr.w", 56, 32, w7, w14, w14);
830 TEST_3R("binsr.w", 64, 120, w8, w17, w24);
831 TEST_3R("binsr.w", 72, 112, w9, w25, w17);
832 TEST_3R("binsr.w", 80, 32, w10, w22, w2);
833 TEST_3R("binsr.w", 88, 160, w11, w9, w15);
834 TEST_3R("binsr.w", 96, 88, w12, w31, w28);
835 TEST_3R("binsr.w", 104, 32, w13, w8, w1);
836 TEST_3R("binsr.w", 112, 88, w14, w19, w23);
837 TEST_3R("binsr.w", 120, 120, w15, w31, w7);
838 TEST_3R("binsr.w", 128, 200, w16, w22, w14);
839 TEST_3R("binsr.w", 136, 152, w17, w5, w30);
840 TEST_3R("binsr.w", 144, 208, w18, w29, w28);
841 TEST_3R("binsr.w", 152, 232, w19, w14, w18);
842 TEST_3R("binsr.w", 160, 208, w20, w20, w16);
843 TEST_3R("binsr.w", 168, 64, w21, w5, w25);
844 TEST_3R("binsr.w", 176, 232, w22, w7, w24);
845 TEST_3R("binsr.w", 184, 16, w23, w23, w23);
846 TEST_3R("binsr.w", 192, 96, w24, w0, w7);
847 TEST_3R("binsr.w", 200, 56, w25, w18, w26);
848 TEST_3R("binsr.w", 208, 160, w26, w31, w25);
849 TEST_3R("binsr.w", 216, 192, w27, w30, w16);
850 TEST_3R("binsr.w", 224, 128, w28, w25, w21);
851 TEST_3R("binsr.w", 232, 184, w29, w6, w18);
852 TEST_3R("binsr.w", 240, 120, w30, w12, w0);
853 TEST_3R("binsr.w", 56, 208, w31, w8, w16);
854 TEST_3R("binsr.d", 0, 224, w0, w9, w20);
855 TEST_3R("binsr.d", 8, 8, w1, w2, w19);
856 TEST_3R("binsr.d", 16, 144, w2, w26, w0);
857 TEST_3R("binsr.d", 24, 112, w3, w20, w30);
858 TEST_3R("binsr.d", 32, 208, w4, w13, w4);
859 TEST_3R("binsr.d", 40, 32, w5, w18, w29);
860 TEST_3R("binsr.d", 48, 32, w6, w12, w18);
861 TEST_3R("binsr.d", 56, 192, w7, w18, w18);
862 TEST_3R("binsr.d", 64, 176, w8, w20, w30);
863 TEST_3R("binsr.d", 72, 64, w9, w20, w6);
864 TEST_3R("binsr.d", 80, 56, w10, w6, w19);
865 TEST_3R("binsr.d", 88, 112, w11, w27, w7);
866 TEST_3R("binsr.d", 96, 128, w12, w14, w1);
867 TEST_3R("binsr.d", 104, 32, w13, w8, w1);
868 TEST_3R("binsr.d", 112, 24, w14, w28, w31);
869 TEST_3R("binsr.d", 120, 232, w15, w9, w2);
870 TEST_3R("binsr.d", 128, 136, w16, w7, w24);
871 TEST_3R("binsr.d", 136, 8, w17, w25, w31);
872 TEST_3R("binsr.d", 144, 56, w18, w30, w19);
873 TEST_3R("binsr.d", 152, 32, w19, w2, w7);
874 TEST_3R("binsr.d", 160, 232, w20, w20, w23);
875 TEST_3R("binsr.d", 168, 216, w21, w19, w9);
876 TEST_3R("binsr.d", 176, 120, w22, w21, w23);
877 TEST_3R("binsr.d", 184, 192, w23, w23, w23);
878 TEST_3R("binsr.d", 192, 104, w24, w31, w29);
879 TEST_3R("binsr.d", 200, 136, w25, w27, w28);
880 TEST_3R("binsr.d", 208, 136, w26, w4, w30);
881 TEST_3R("binsr.d", 216, 32, w27, w11, w22);
882 TEST_3R("binsr.d", 224, 160, w28, w5, w21);
883 TEST_3R("binsr.d", 232, 88, w29, w3, w8);
884 TEST_3R("binsr.d", 240, 120, w30, w5, w16);
885 TEST_3R("binsr.d", 16, 184, w31, w28, w30);
886 TEST_3R("bneg.b", 0, 216, w0, w6, w30);
887 TEST_3R("bneg.b", 8, 40, w1, w3, w13);
888 TEST_3R("bneg.b", 16, 200, w2, w31, w8);
889 TEST_3R("bneg.b", 24, 232, w3, w29, w1);
890 TEST_3R("bneg.b", 32, 72, w4, w19, w5);
891 TEST_3R("bneg.b", 40, 48, w5, w8, w6);
892 TEST_3R("bneg.b", 48, 80, w6, w16, w6);
893 TEST_3R("bneg.b", 56, 208, w7, w7, w7);
894 TEST_3R("bneg.b", 64, 144, w8, w0, w28);
895 TEST_3R("bneg.b", 72, 32, w9, w30, w11);
896 TEST_3R("bneg.b", 80, 192, w10, w10, w5);
897 TEST_3R("bneg.b", 88, 232, w11, w10, w3);
898 TEST_3R("bneg.b", 96, 168, w12, w8, w0);
899 TEST_3R("bneg.b", 104, 40, w13, w21, w24);
900 TEST_3R("bneg.b", 112, 104, w14, w29, w21);
901 TEST_3R("bneg.b", 120, 168, w15, w30, w29);
902 TEST_3R("bneg.b", 128, 192, w16, w4, w10);
903 TEST_3R("bneg.b", 136, 0, w17, w10, w26);
904 TEST_3R("bneg.b", 144, 112, w18, w11, w15);
905 TEST_3R("bneg.b", 152, 160, w19, w7, w1);
906 TEST_3R("bneg.b", 160, 232, w20, w19, w5);
907 TEST_3R("bneg.b", 168, 72, w21, w8, w15);
908 TEST_3R("bneg.b", 176, 8, w22, w4, w23);
909 TEST_3R("bneg.b", 184, 96, w23, w2, w12);
910 TEST_3R("bneg.b", 192, 152, w24, w0, w9);
911 TEST_3R("bneg.b", 200, 72, w25, w26, w7);
912 TEST_3R("bneg.b", 208, 64, w26, w8, w11);
913 TEST_3R("bneg.b", 216, 104, w27, w29, w21);
914 TEST_3R("bneg.b", 224, 232, w28, w3, w0);
915 TEST_3R("bneg.b", 232, 136, w29, w10, w8);
916 TEST_3R("bneg.b", 240, 40, w30, w15, w15);
917 TEST_3R("bneg.b", 144, 112, w31, w19, w25);
918 TEST_3R("bneg.h", 0, 0, w0, w7, w25);
919 TEST_3R("bneg.h", 8, 104, w1, w10, w5);
920 TEST_3R("bneg.h", 16, 136, w2, w10, w14);
921 TEST_3R("bneg.h", 24, 80, w3, w4, w21);
922 TEST_3R("bneg.h", 32, 16, w4, w12, w1);
923 TEST_3R("bneg.h", 40, 128, w5, w10, w22);
924 TEST_3R("bneg.h", 48, 144, w6, w13, w6);
925 TEST_3R("bneg.h", 56, 232, w7, w7, w7);
926 TEST_3R("bneg.h", 64, 136, w8, w23, w31);
927 TEST_3R("bneg.h", 72, 216, w9, w6, w26);
928 TEST_3R("bneg.h", 80, 104, w10, w10, w0);
929 TEST_3R("bneg.h", 88, 160, w11, w1, w7);
930 TEST_3R("bneg.h", 96, 88, w12, w26, w29);
931 TEST_3R("bneg.h", 104, 168, w13, w31, w26);
932 TEST_3R("bneg.h", 112, 136, w14, w13, w19);
933 TEST_3R("bneg.h", 120, 184, w15, w3, w5);
934 TEST_3R("bneg.h", 128, 0, w16, w4, w26);
935 TEST_3R("bneg.h", 136, 208, w17, w26, w12);
936 TEST_3R("bneg.h", 144, 184, w18, w17, w11);
937 TEST_3R("bneg.h", 152, 200, w19, w16, w23);
938 TEST_3R("bneg.h", 160, 152, w20, w10, w23);
939 TEST_3R("bneg.h", 168, 96, w21, w8, w24);
940 TEST_3R("bneg.h", 176, 48, w22, w13, w19);
941 TEST_3R("bneg.h", 184, 216, w23, w28, w18);
942 TEST_3R("bneg.h", 192, 160, w24, w21, w0);
943 TEST_3R("bneg.h", 200, 184, w25, w18, w3);
944 TEST_3R("bneg.h", 208, 96, w26, w28, w7);
945 TEST_3R("bneg.h", 216, 136, w27, w16, w1);
946 TEST_3R("bneg.h", 224, 56, w28, w18, w19);
947 TEST_3R("bneg.h", 232, 224, w29, w11, w3);
948 TEST_3R("bneg.h", 240, 56, w30, w10, w10);
949 TEST_3R("bneg.h", 160, 224, w31, w24, w10);
950 TEST_3R("bneg.w", 0, 176, w0, w17, w3);
951 TEST_3R("bneg.w", 8, 160, w1, w21, w31);
952 TEST_3R("bneg.w", 16, 144, w2, w20, w22);
953 TEST_3R("bneg.w", 24, 200, w3, w6, w25);
954 TEST_3R("bneg.w", 32, 64, w4, w3, w0);
955 TEST_3R("bneg.w", 40, 80, w5, w19, w2);
956 TEST_3R("bneg.w", 48, 176, w6, w5, w6);
957 TEST_3R("bneg.w", 56, 8, w7, w7, w7);
958 TEST_3R("bneg.w", 64, 104, w8, w16, w24);
959 TEST_3R("bneg.w", 72, 112, w9, w27, w6);
960 TEST_3R("bneg.w", 80, 88, w10, w10, w5);
961 TEST_3R("bneg.w", 88, 168, w11, w5, w22);
962 TEST_3R("bneg.w", 96, 72, w12, w9, w11);
963 TEST_3R("bneg.w", 104, 48, w13, w0, w18);
964 TEST_3R("bneg.w", 112, 0, w14, w7, w25);
965 TEST_3R("bneg.w", 120, 0, w15, w6, w28);
966 TEST_3R("bneg.w", 128, 144, w16, w23, w15);
967 TEST_3R("bneg.w", 136, 80, w17, w8, w21);
968 TEST_3R("bneg.w", 144, 16, w18, w2, w5);
969 TEST_3R("bneg.w", 152, 224, w19, w30, w0);
970 TEST_3R("bneg.w", 160, 80, w20, w19, w5);
971 TEST_3R("bneg.w", 168, 16, w21, w24, w27);
972 TEST_3R("bneg.w", 176, 96, w22, w2, w7);
973 TEST_3R("bneg.w", 184, 64, w23, w2, w7);
974 TEST_3R("bneg.w", 192, 8, w24, w14, w12);
975 TEST_3R("bneg.w", 200, 8, w25, w20, w8);
976 TEST_3R("bneg.w", 208, 152, w26, w11, w24);
977 TEST_3R("bneg.w", 216, 112, w27, w19, w13);
978 TEST_3R("bneg.w", 224, 0, w28, w22, w18);
979 TEST_3R("bneg.w", 232, 232, w29, w20, w19);
980 TEST_3R("bneg.w", 240, 120, w30, w7, w7);
981 TEST_3R("bneg.w", 200, 16, w31, w28, w0);
982 TEST_3R("bneg.d", 0, 64, w0, w2, w27);
983 TEST_3R("bneg.d", 8, 0, w1, w4, w2);
984 TEST_3R("bneg.d", 16, 160, w2, w28, w16);
985 TEST_3R("bneg.d", 24, 24, w3, w5, w4);
986 TEST_3R("bneg.d", 32, 96, w4, w30, w15);
987 TEST_3R("bneg.d", 40, 168, w5, w9, w3);
988 TEST_3R("bneg.d", 48, 120, w6, w28, w6);
989 TEST_3R("bneg.d", 56, 48, w7, w7, w7);
990 TEST_3R("bneg.d", 64, 16, w8, w15, w13);
991 TEST_3R("bneg.d", 72, 128, w9, w21, w11);
992 TEST_3R("bneg.d", 80, 24, w10, w10, w21);
993 TEST_3R("bneg.d", 88, 168, w11, w4, w23);
994 TEST_3R("bneg.d", 96, 168, w12, w4, w27);
995 TEST_3R("bneg.d", 104, 40, w13, w24, w23);
996 TEST_3R("bneg.d", 112, 208, w14, w24, w28);
997 TEST_3R("bneg.d", 120, 96, w15, w0, w26);
998 TEST_3R("bneg.d", 128, 160, w16, w1, w4);
999 TEST_3R("bneg.d", 136, 152, w17, w14, w0);
1000 TEST_3R("bneg.d", 144, 168, w18, w14, w16);
1001 TEST_3R("bneg.d", 152, 56, w19, w1, w25);
1002 TEST_3R("bneg.d", 160, 176, w20, w13, w30);
1003 TEST_3R("bneg.d", 168, 120, w21, w12, w3);
1004 TEST_3R("bneg.d", 176, 192, w22, w7, w5);
1005 TEST_3R("bneg.d", 184, 112, w23, w31, w29);
1006 TEST_3R("bneg.d", 192, 80, w24, w23, w25);
1007 TEST_3R("bneg.d", 200, 48, w25, w24, w20);
1008 TEST_3R("bneg.d", 208, 208, w26, w25, w24);
1009 TEST_3R("bneg.d", 216, 232, w27, w7, w24);
1010 TEST_3R("bneg.d", 224, 168, w28, w22, w8);
1011 TEST_3R("bneg.d", 232, 96, w29, w23, w1);
1012 TEST_3R("bneg.d", 240, 192, w30, w4, w4);
1013 TEST_3R("bneg.d", 32, 96, w31, w27, w17);
1014 TEST_3R("bset.b", 0, 168, w0, w10, w8);
1015 TEST_3R("bset.b", 8, 80, w1, w12, w25);
1016 TEST_3R("bset.b", 16, 72, w2, w12, w18);
1017 TEST_3R("bset.b", 24, 208, w3, w16, w26);
1018 TEST_3R("bset.b", 32, 72, w4, w15, w16);
1019 TEST_3R("bset.b", 40, 224, w5, w24, w7);
1020 TEST_3R("bset.b", 48, 48, w6, w0, w12);
1021 TEST_3R("bset.b", 56, 16, w7, w27, w29);
1022 TEST_3R("bset.b", 64, 168, w8, w0, w21);
1023 TEST_3R("bset.b", 72, 176, w9, w11, w16);
1024 TEST_3R("bset.b", 80, 40, w10, w10, w19);
1025 TEST_3R("bset.b", 88, 128, w11, w9, w11);
1026 TEST_3R("bset.b", 96, 216, w12, w8, w2);
1027 TEST_3R("bset.b", 104, 168, w13, w20, w21);
1028 TEST_3R("bset.b", 112, 136, w14, w4, w15);
1029 TEST_3R("bset.b", 120, 216, w15, w20, w31);
1030 TEST_3R("bset.b", 128, 72, w16, w12, w6);
1031 TEST_3R("bset.b", 136, 120, w17, w12, w18);
1032 TEST_3R("bset.b", 144, 136, w18, w7, w15);
1033 TEST_3R("bset.b", 152, 184, w19, w8, w4);
1034 TEST_3R("bset.b", 160, 0, w20, w19, w21);
1035 TEST_3R("bset.b", 168, 104, w21, w7, w17);
1036 TEST_3R("bset.b", 176, 48, w22, w28, w25);
1037 TEST_3R("bset.b", 184, 0, w23, w6, w13);
1038 TEST_3R("bset.b", 192, 200, w24, w24, w24);
1039 TEST_3R("bset.b", 200, 216, w25, w18, w20);
1040 TEST_3R("bset.b", 208, 72, w26, w6, w19);
1041 TEST_3R("bset.b", 216, 56, w27, w18, w18);
1042 TEST_3R("bset.b", 224, 120, w28, w5, w31);
1043 TEST_3R("bset.b", 232, 152, w29, w18, w6);
1044 TEST_3R("bset.b", 240, 128, w30, w17, w14);
1045 TEST_3R("bset.b", 112, 208, w31, w14, w2);
1046 TEST_3R("bset.h", 0, 224, w0, w9, w6);
1047 TEST_3R("bset.h", 8, 144, w1, w5, w31);
1048 TEST_3R("bset.h", 16, 144, w2, w11, w12);
1049 TEST_3R("bset.h", 24, 216, w3, w10, w30);
1050 TEST_3R("bset.h", 32, 168, w4, w6, w28);
1051 TEST_3R("bset.h", 40, 80, w5, w23, w22);
1052 TEST_3R("bset.h", 48, 224, w6, w22, w2);
1053 TEST_3R("bset.h", 56, 152, w7, w28, w29);
1054 TEST_3R("bset.h", 64, 16, w8, w11, w29);
1055 TEST_3R("bset.h", 72, 136, w9, w13, w18);
1056 TEST_3R("bset.h", 80, 120, w10, w10, w22);
1057 TEST_3R("bset.h", 88, 40, w11, w26, w11);
1058 TEST_3R("bset.h", 96, 80, w12, w23, w11);
1059 TEST_3R("bset.h", 104, 208, w13, w4, w0);
1060 TEST_3R("bset.h", 112, 64, w14, w2, w10);
1061 TEST_3R("bset.h", 120, 112, w15, w7, w6);
1062 TEST_3R("bset.h", 128, 200, w16, w30, w28);
1063 TEST_3R("bset.h", 136, 64, w17, w20, w30);
1064 TEST_3R("bset.h", 144, 216, w18, w16, w28);
1065 TEST_3R("bset.h", 152, 112, w19, w27, w25);
1066 TEST_3R("bset.h", 160, 120, w20, w8, w12);
1067 TEST_3R("bset.h", 168, 112, w21, w30, w4);
1068 TEST_3R("bset.h", 176, 16, w22, w25, w28);
1069 TEST_3R("bset.h", 184, 0, w23, w0, w2);
1070 TEST_3R("bset.h", 192, 208, w24, w24, w24);
1071 TEST_3R("bset.h", 200, 56, w25, w12, w7);
1072 TEST_3R("bset.h", 208, 128, w26, w18, w14);
1073 TEST_3R("bset.h", 216, 136, w27, w15, w15);
1074 TEST_3R("bset.h", 224, 200, w28, w27, w13);
1075 TEST_3R("bset.h", 232, 48, w29, w12, w9);
1076 TEST_3R("bset.h", 240, 168, w30, w7, w3);
1077 TEST_3R("bset.h", 152, 160, w31, w16, w15);
1078 TEST_3R("bset.w", 0, 232, w0, w19, w27);
1079 TEST_3R("bset.w", 8, 24, w1, w15, w29);
1080 TEST_3R("bset.w", 16, 24, w2, w15, w31);
1081 TEST_3R("bset.w", 24, 208, w3, w18, w11);
1082 TEST_3R("bset.w", 32, 24, w4, w27, w29);
1083 TEST_3R("bset.w", 40, 160, w5, w3, w12);
1084 TEST_3R("bset.w", 48, 128, w6, w30, w26);
1085 TEST_3R("bset.w", 56, 56, w7, w10, w3);
1086 TEST_3R("bset.w", 64, 96, w8, w18, w6);
1087 TEST_3R("bset.w", 72, 24, w9, w2, w21);
1088 TEST_3R("bset.w", 80, 216, w10, w10, w16);
1089 TEST_3R("bset.w", 88, 232, w11, w20, w11);
1090 TEST_3R("bset.w", 96, 16, w12, w24, w17);
1091 TEST_3R("bset.w", 104, 40, w13, w8, w16);
1092 TEST_3R("bset.w", 112, 8, w14, w26, w27);
1093 TEST_3R("bset.w", 120, 144, w15, w21, w24);
1094 TEST_3R("bset.w", 128, 72, w16, w24, w5);
1095 TEST_3R("bset.w", 136, 80, w17, w23, w31);
1096 TEST_3R("bset.w", 144, 136, w18, w1, w2);
1097 TEST_3R("bset.w", 152, 48, w19, w9, w0);
1098 TEST_3R("bset.w", 160, 48, w20, w30, w24);
1099 TEST_3R("bset.w", 168, 152, w21, w7, w12);
1100 TEST_3R("bset.w", 176, 40, w22, w0, w29);
1101 TEST_3R("bset.w", 184, 200, w23, w8, w13);
1102 TEST_3R("bset.w", 192, 64, w24, w24, w24);
1103 TEST_3R("bset.w", 200, 128, w25, w8, w17);
1104 TEST_3R("bset.w", 208, 144, w26, w1, w24);
1105 TEST_3R("bset.w", 216, 64, w27, w6, w6);
1106 TEST_3R("bset.w", 224, 152, w28, w7, w5);
1107 TEST_3R("bset.w", 232, 48, w29, w8, w7);
1108 TEST_3R("bset.w", 240, 160, w30, w28, w16);
1109 TEST_3R("bset.w", 160, 184, w31, w17, w15);
1110 TEST_3R("bset.d", 0, 192, w0, w22, w10);
1111 TEST_3R("bset.d", 8, 0, w1, w22, w7);
1112 TEST_3R("bset.d", 16, 200, w2, w30, w21);
1113 TEST_3R("bset.d", 24, 152, w3, w0, w29);
1114 TEST_3R("bset.d", 32, 144, w4, w24, w30);
1115 TEST_3R("bset.d", 40, 88, w5, w8, w4);
1116 TEST_3R("bset.d", 48, 0, w6, w15, w9);
1117 TEST_3R("bset.d", 56, 168, w7, w23, w17);
1118 TEST_3R("bset.d", 64, 200, w8, w19, w1);
1119 TEST_3R("bset.d", 72, 152, w9, w5, w16);
1120 TEST_3R("bset.d", 80, 144, w10, w10, w28);
1121 TEST_3R("bset.d", 88, 96, w11, w22, w11);
1122 TEST_3R("bset.d", 96, 208, w12, w29, w30);
1123 TEST_3R("bset.d", 104, 48, w13, w28, w19);
1124 TEST_3R("bset.d", 112, 208, w14, w28, w16);
1125 TEST_3R("bset.d", 120, 200, w15, w20, w8);
1126 TEST_3R("bset.d", 128, 8, w16, w19, w21);
1127 TEST_3R("bset.d", 136, 160, w17, w29, w26);
1128 TEST_3R("bset.d", 144, 16, w18, w14, w4);
1129 TEST_3R("bset.d", 152, 48, w19, w15, w27);
1130 TEST_3R("bset.d", 160, 64, w20, w31, w24);
1131 TEST_3R("bset.d", 168, 112, w21, w22, w10);
1132 TEST_3R("bset.d", 176, 112, w22, w20, w18);
1133 TEST_3R("bset.d", 184, 120, w23, w7, w6);
1134 TEST_3R("bset.d", 192, 144, w24, w24, w24);
1135 TEST_3R("bset.d", 200, 224, w25, w17, w6);
1136 TEST_3R("bset.d", 208, 120, w26, w14, w22);
1137 TEST_3R("bset.d", 216, 32, w27, w23, w23);
1138 TEST_3R("bset.d", 224, 64, w28, w5, w20);
1139 TEST_3R("bset.d", 232, 56, w29, w20, w7);
1140 TEST_3R("bset.d", 240, 192, w30, w20, w7);
1141 TEST_3R("bset.d", 128, 64, w31, w27, w29);
1142 TEST_3R("sll.b", 0, 120, w0, w9, w0);
1143 TEST_3R("sll.b", 8, 152, w1, w15, w2);
1144 TEST_3R("sll.b", 16, 152, w2, w22, w4);
1145 TEST_3R("sll.b", 24, 72, w3, w3, w16);
1146 TEST_3R("sll.b", 32, 104, w4, w22, w7);
1147 TEST_3R("sll.b", 40, 8, w5, w19, w12);
1148 TEST_3R("sll.b", 48, 192, w6, w0, w7);
1149 TEST_3R("sll.b", 56, 24, w7, w21, w14);
1150 TEST_3R("sll.b", 64, 88, w8, w16, w11);
1151 TEST_3R("sll.b", 72, 232, w9, w16, w28);
1152 TEST_3R("sll.b", 80, 40, w10, w17, w20);
1153 TEST_3R("sll.b", 88, 72, w11, w14, w3);
1154 TEST_3R("sll.b", 96, 72, w12, w29, w25);
1155 TEST_3R("sll.b", 104, 152, w13, w26, w9);
1156 TEST_3R("sll.b", 112, 128, w14, w17, w16);
1157 TEST_3R("sll.b", 120, 144, w15, w4, w28);
1158 TEST_3R("sll.b", 128, 40, w16, w10, w29);
1159 TEST_3R("sll.b", 136, 136, w17, w17, w17);
1160 TEST_3R("sll.b", 144, 160, w18, w25, w2);
1161 TEST_3R("sll.b", 152, 0, w19, w5, w0);
1162 TEST_3R("sll.b", 160, 144, w20, w4, w13);
1163 TEST_3R("sll.b", 168, 64, w21, w23, w8);
1164 TEST_3R("sll.b", 176, 136, w22, w17, w7);
1165 TEST_3R("sll.b", 184, 120, w23, w26, w0);
1166 TEST_3R("sll.b", 192, 224, w24, w11, w11);
1167 TEST_3R("sll.b", 200, 8, w25, w31, w7);
1168 TEST_3R("sll.b", 208, 160, w26, w9, w4);
1169 TEST_3R("sll.b", 216, 104, w27, w8, w22);
1170 TEST_3R("sll.b", 224, 144, w28, w1, w25);
1171 TEST_3R("sll.b", 232, 224, w29, w7, w12);
1172 TEST_3R("sll.b", 240, 80, w30, w27, w16);
1173 TEST_3R("sll.b", 224, 72, w31, w8, w2);
1174 TEST_3R("sll.h", 0, 216, w0, w18, w0);
1175 TEST_3R("sll.h", 8, 104, w1, w23, w29);
1176 TEST_3R("sll.h", 16, 232, w2, w24, w19);
1177 TEST_3R("sll.h", 24, 200, w3, w3, w24);
1178 TEST_3R("sll.h", 32, 200, w4, w6, w1);
1179 TEST_3R("sll.h", 40, 96, w5, w26, w9);
1180 TEST_3R("sll.h", 48, 232, w6, w7, w11);
1181 TEST_3R("sll.h", 56, 152, w7, w24, w18);
1182 TEST_3R("sll.h", 64, 72, w8, w9, w13);
1183 TEST_3R("sll.h", 72, 136, w9, w14, w22);
1184 TEST_3R("sll.h", 80, 40, w10, w6, w31);
1185 TEST_3R("sll.h", 88, 144, w11, w30, w28);
1186 TEST_3R("sll.h", 96, 112, w12, w22, w21);
1187 TEST_3R("sll.h", 104, 216, w13, w19, w25);
1188 TEST_3R("sll.h", 112, 88, w14, w12, w19);
1189 TEST_3R("sll.h", 120, 16, w15, w2, w26);
1190 TEST_3R("sll.h", 128, 152, w16, w18, w21);
1191 TEST_3R("sll.h", 136, 8, w17, w17, w17);
1192 TEST_3R("sll.h", 144, 232, w18, w2, w21);
1193 TEST_3R("sll.h", 152, 176, w19, w24, w2);
1194 TEST_3R("sll.h", 160, 88, w20, w31, w2);
1195 TEST_3R("sll.h", 168, 104, w21, w29, w30);
1196 TEST_3R("sll.h", 176, 176, w22, w19, w30);
1197 TEST_3R("sll.h", 184, 40, w23, w0, w12);
1198 TEST_3R("sll.h", 192, 184, w24, w15, w15);
1199 TEST_3R("sll.h", 200, 72, w25, w18, w7);
1200 TEST_3R("sll.h", 208, 72, w26, w12, w10);
1201 TEST_3R("sll.h", 216, 224, w27, w30, w31);
1202 TEST_3R("sll.h", 224, 88, w28, w25, w1);
1203 TEST_3R("sll.h", 232, 200, w29, w2, w26);
1204 TEST_3R("sll.h", 240, 224, w30, w21, w25);
1205 TEST_3R("sll.h", 216, 40, w31, w1, w22);
1206 TEST_3R("sll.w", 0, 32, w0, w9, w0);
1207 TEST_3R("sll.w", 8, 160, w1, w11, w15);
1208 TEST_3R("sll.w", 16, 32, w2, w23, w14);
1209 TEST_3R("sll.w", 24, 160, w3, w3, w15);
1210 TEST_3R("sll.w", 32, 24, w4, w24, w10);
1211 TEST_3R("sll.w", 40, 120, w5, w2, w21);
1212 TEST_3R("sll.w", 48, 96, w6, w1, w11);
1213 TEST_3R("sll.w", 56, 192, w7, w3, w22);
1214 TEST_3R("sll.w", 64, 216, w8, w29, w4);
1215 TEST_3R("sll.w", 72, 88, w9, w22, w20);
1216 TEST_3R("sll.w", 80, 184, w10, w12, w3);
1217 TEST_3R("sll.w", 88, 128, w11, w21, w5);
1218 TEST_3R("sll.w", 96, 120, w12, w4, w7);
1219 TEST_3R("sll.w", 104, 168, w13, w18, w25);
1220 TEST_3R("sll.w", 112, 48, w14, w18, w17);
1221 TEST_3R("sll.w", 120, 8, w15, w30, w20);
1222 TEST_3R("sll.w", 128, 176, w16, w8, w21);
1223 TEST_3R("sll.w", 136, 200, w17, w17, w17);
1224 TEST_3R("sll.w", 144, 32, w18, w24, w26);
1225 TEST_3R("sll.w", 152, 8, w19, w21, w30);
1226 TEST_3R("sll.w", 160, 208, w20, w11, w19);
1227 TEST_3R("sll.w", 168, 24, w21, w23, w22);
1228 TEST_3R("sll.w", 176, 160, w22, w12, w27);
1229 TEST_3R("sll.w", 184, 152, w23, w16, w2);
1230 TEST_3R("sll.w", 192, 152, w24, w2, w2);
1231 TEST_3R("sll.w", 200, 232, w25, w4, w20);
1232 TEST_3R("sll.w", 208, 16, w26, w8, w18);
1233 TEST_3R("sll.w", 216, 80, w27, w0, w26);
1234 TEST_3R("sll.w", 224, 184, w28, w4, w5);
1235 TEST_3R("sll.w", 232, 16, w29, w30, w21);
1236 TEST_3R("sll.w", 240, 224, w30, w28, w0);
1237 TEST_3R("sll.w", 160, 224, w31, w15, w6);
1238 TEST_3R("sll.d", 0, 144, w0, w20, w0);
1239 TEST_3R("sll.d", 8, 16, w1, w0, w21);
1240 TEST_3R("sll.d", 16, 48, w2, w3, w0);
1241 TEST_3R("sll.d", 24, 224, w3, w3, w30);
1242 TEST_3R("sll.d", 32, 232, w4, w27, w11);
1243 TEST_3R("sll.d", 40, 8, w5, w14, w12);
1244 TEST_3R("sll.d", 48, 80, w6, w8, w3);
1245 TEST_3R("sll.d", 56, 216, w7, w14, w18);
1246 TEST_3R("sll.d", 64, 72, w8, w3, w22);
1247 TEST_3R("sll.d", 72, 72, w9, w3, w6);
1248 TEST_3R("sll.d", 80, 112, w10, w9, w14);
1249 TEST_3R("sll.d", 88, 224, w11, w29, w2);
1250 TEST_3R("sll.d", 96, 16, w12, w18, w6);
1251 TEST_3R("sll.d", 104, 144, w13, w18, w2);
1252 TEST_3R("sll.d", 112, 224, w14, w9, w3);
1253 TEST_3R("sll.d", 120, 200, w15, w26, w16);
1254 TEST_3R("sll.d", 128, 216, w16, w29, w1);
1255 TEST_3R("sll.d", 136, 72, w17, w17, w17);
1256 TEST_3R("sll.d", 144, 176, w18, w16, w17);
1257 TEST_3R("sll.d", 152, 136, w19, w28, w20);
1258 TEST_3R("sll.d", 160, 88, w20, w23, w30);
1259 TEST_3R("sll.d", 168, 56, w21, w23, w27);
1260 TEST_3R("sll.d", 176, 160, w22, w24, w14);
1261 TEST_3R("sll.d", 184, 208, w23, w28, w0);
1262 TEST_3R("sll.d", 192, 80, w24, w31, w31);
1263 TEST_3R("sll.d", 200, 32, w25, w13, w27);
1264 TEST_3R("sll.d", 208, 112, w26, w7, w11);
1265 TEST_3R("sll.d", 216, 88, w27, w5, w13);
1266 TEST_3R("sll.d", 224, 24, w28, w20, w29);
1267 TEST_3R("sll.d", 232, 16, w29, w26, w25);
1268 TEST_3R("sll.d", 240, 208, w30, w7, w16);
1269 TEST_3R("sll.d", 72, 184, w31, w1, w8);
1270 TEST_3R("sra.b", 0, 120, w0, w0, w0);
1271 TEST_3R("sra.b", 8, 120, w1, w17, w1);
1272 TEST_3R("sra.b", 16, 72, w2, w11, w9);
1273 TEST_3R("sra.b", 24, 104, w3, w27, w16);
1274 TEST_3R("sra.b", 32, 112, w4, w11, w21);
1275 TEST_3R("sra.b", 40, 96, w5, w9, w10);
1276 TEST_3R("sra.b", 48, 8, w6, w23, w4);
1277 TEST_3R("sra.b", 56, 24, w7, w26, w11);
1278 TEST_3R("sra.b", 64, 144, w8, w27, w13);
1279 TEST_3R("sra.b", 72, 224, w9, w24, w11);
1280 TEST_3R("sra.b", 80, 232, w10, w10, w2);
1281 TEST_3R("sra.b", 88, 184, w11, w3, w13);
1282 TEST_3R("sra.b", 96, 72, w12, w31, w16);
1283 TEST_3R("sra.b", 104, 104, w13, w8, w4);
1284 TEST_3R("sra.b", 112, 216, w14, w22, w15);
1285 TEST_3R("sra.b", 120, 184, w15, w12, w24);
1286 TEST_3R("sra.b", 128, 8, w16, w0, w28);
1287 TEST_3R("sra.b", 136, 40, w17, w10, w8);
1288 TEST_3R("sra.b", 144, 192, w18, w6, w21);
1289 TEST_3R("sra.b", 152, 176, w19, w30, w0);
1290 TEST_3R("sra.b", 160, 232, w20, w0, w12);
1291 TEST_3R("sra.b", 168, 40, w21, w14, w9);
1292 TEST_3R("sra.b", 176, 160, w22, w30, w18);
1293 TEST_3R("sra.b", 184, 24, w23, w11, w22);
1294 TEST_3R("sra.b", 192, 112, w24, w2, w5);
1295 TEST_3R("sra.b", 200, 168, w25, w14, w30);
1296 TEST_3R("sra.b", 208, 8, w26, w14, w27);
1297 TEST_3R("sra.b", 216, 48, w27, w24, w3);
1298 TEST_3R("sra.b", 224, 112, w28, w30, w24);
1299 TEST_3R("sra.b", 232, 88, w29, w28, w28);
1300 TEST_3R("sra.b", 240, 208, w30, w12, w29);
1301 TEST_3R("sra.b", 72, 152, w31, w5, w11);
1302 TEST_3R("sra.h", 0, 216, w0, w0, w0);
1303 TEST_3R("sra.h", 8, 232, w1, w31, w1);
1304 TEST_3R("sra.h", 16, 128, w2, w20, w21);
1305 TEST_3R("sra.h", 24, 120, w3, w22, w27);
1306 TEST_3R("sra.h", 32, 56, w4, w5, w25);
1307 TEST_3R("sra.h", 40, 32, w5, w19, w7);
1308 TEST_3R("sra.h", 48, 104, w6, w15, w31);
1309 TEST_3R("sra.h", 56, 64, w7, w21, w30);
1310 TEST_3R("sra.h", 64, 24, w8, w11, w26);
1311 TEST_3R("sra.h", 72, 8, w9, w23, w12);
1312 TEST_3R("sra.h", 80, 24, w10, w10, w2);
1313 TEST_3R("sra.h", 88, 224, w11, w25, w22);
1314 TEST_3R("sra.h", 96, 208, w12, w15, w11);
1315 TEST_3R("sra.h", 104, 72, w13, w10, w7);
1316 TEST_3R("sra.h", 112, 168, w14, w3, w2);
1317 TEST_3R("sra.h", 120, 152, w15, w10, w23);
1318 TEST_3R("sra.h", 128, 48, w16, w9, w19);
1319 TEST_3R("sra.h", 136, 80, w17, w0, w30);
1320 TEST_3R("sra.h", 144, 200, w18, w9, w21);
1321 TEST_3R("sra.h", 152, 168, w19, w21, w17);
1322 TEST_3R("sra.h", 160, 0, w20, w15, w10);
1323 TEST_3R("sra.h", 168, 96, w21, w9, w0);
1324 TEST_3R("sra.h", 176, 184, w22, w24, w11);
1325 TEST_3R("sra.h", 184, 136, w23, w2, w19);
1326 TEST_3R("sra.h", 192, 184, w24, w5, w21);
1327 TEST_3R("sra.h", 200, 96, w25, w15, w12);
1328 TEST_3R("sra.h", 208, 40, w26, w24, w28);
1329 TEST_3R("sra.h", 216, 128, w27, w0, w29);
1330 TEST_3R("sra.h", 224, 184, w28, w2, w6);
1331 TEST_3R("sra.h", 232, 216, w29, w27, w27);
1332 TEST_3R("sra.h", 240, 104, w30, w29, w23);
1333 TEST_3R("sra.h", 48, 128, w31, w7, w20);
1334 TEST_3R("sra.w", 0, 8, w0, w0, w0);
1335 TEST_3R("sra.w", 8, 112, w1, w19, w1);
1336 TEST_3R("sra.w", 16, 8, w2, w14, w6);
1337 TEST_3R("sra.w", 24, 192, w3, w19, w27);
1338 TEST_3R("sra.w", 32, 168, w4, w2, w7);
1339 TEST_3R("sra.w", 40, 208, w5, w26, w4);
1340 TEST_3R("sra.w", 48, 216, w6, w26, w1);
1341 TEST_3R("sra.w", 56, 40, w7, w28, w10);
1342 TEST_3R("sra.w", 64, 200, w8, w2, w15);
1343 TEST_3R("sra.w", 72, 144, w9, w15, w14);
1344 TEST_3R("sra.w", 80, 224, w10, w10, w23);
1345 TEST_3R("sra.w", 88, 216, w11, w13, w10);
1346 TEST_3R("sra.w", 96, 96, w12, w27, w16);
1347 TEST_3R("sra.w", 104, 56, w13, w14, w11);
1348 TEST_3R("sra.w", 112, 104, w14, w16, w18);
1349 TEST_3R("sra.w", 120, 192, w15, w11, w22);
1350 TEST_3R("sra.w", 128, 40, w16, w5, w23);
1351 TEST_3R("sra.w", 136, 88, w17, w2, w30);
1352 TEST_3R("sra.w", 144, 144, w18, w26, w1);
1353 TEST_3R("sra.w", 152, 224, w19, w9, w14);
1354 TEST_3R("sra.w", 160, 72, w20, w24, w16);
1355 TEST_3R("sra.w", 168, 112, w21, w13, w29);
1356 TEST_3R("sra.w", 176, 0, w22, w6, w25);
1357 TEST_3R("sra.w", 184, 24, w23, w30, w7);
1358 TEST_3R("sra.w", 192, 16, w24, w28, w0);
1359 TEST_3R("sra.w", 200, 88, w25, w3, w22);
1360 TEST_3R("sra.w", 208, 136, w26, w8, w14);
1361 TEST_3R("sra.w", 216, 224, w27, w10, w12);
1362 TEST_3R("sra.w", 224, 0, w28, w4, w13);
1363 TEST_3R("sra.w", 232, 56, w29, w14, w14);
1364 TEST_3R("sra.w", 240, 56, w30, w21, w6);
1365 TEST_3R("sra.w", 160, 216, w31, w30, w19);
1366 TEST_3R("sra.d", 0, 184, w0, w0, w0);
1367 TEST_3R("sra.d", 8, 160, w1, w2, w1);
1368 TEST_3R("sra.d", 16, 192, w2, w23, w10);
1369 TEST_3R("sra.d", 24, 0, w3, w19, w2);
1370 TEST_3R("sra.d", 32, 80, w4, w26, w5);
1371 TEST_3R("sra.d", 40, 208, w5, w19, w13);
1372 TEST_3R("sra.d", 48, 144, w6, w27, w24);
1373 TEST_3R("sra.d", 56, 216, w7, w29, w28);
1374 TEST_3R("sra.d", 64, 152, w8, w1, w10);
1375 TEST_3R("sra.d", 72, 208, w9, w22, w16);
1376 TEST_3R("sra.d", 80, 128, w10, w10, w20);
1377 TEST_3R("sra.d", 88, 184, w11, w16, w5);
1378 TEST_3R("sra.d", 96, 224, w12, w19, w24);
1379 TEST_3R("sra.d", 104, 56, w13, w29, w24);
1380 TEST_3R("sra.d", 112, 144, w14, w31, w25);
1381 TEST_3R("sra.d", 120, 80, w15, w4, w16);
1382 TEST_3R("sra.d", 128, 32, w16, w17, w21);
1383 TEST_3R("sra.d", 136, 200, w17, w9, w6);
1384 TEST_3R("sra.d", 144, 136, w18, w6, w5);
1385 TEST_3R("sra.d", 152, 176, w19, w16, w0);
1386 TEST_3R("sra.d", 160, 24, w20, w1, w7);
1387 TEST_3R("sra.d", 168, 24, w21, w4, w24);
1388 TEST_3R("sra.d", 176, 192, w22, w1, w11);
1389 TEST_3R("sra.d", 184, 56, w23, w22, w8);
1390 TEST_3R("sra.d", 192, 168, w24, w30, w7);
1391 TEST_3R("sra.d", 200, 232, w25, w0, w11);
1392 TEST_3R("sra.d", 208, 136, w26, w22, w28);
1393 TEST_3R("sra.d", 216, 64, w27, w6, w19);
1394 TEST_3R("sra.d", 224, 208, w28, w12, w25);
1395 TEST_3R("sra.d", 232, 56, w29, w28, w28);
1396 TEST_3R("sra.d", 240, 96, w30, w7, w29);
1397 TEST_3R("sra.d", 72, 72, w31, w1, w2);
1398 TEST_3R("srar.b", 0, 48, w0, w12, w5);
1399 TEST_3R("srar.b", 8, 40, w1, w19, w13);
1400 TEST_3R("srar.b", 16, 104, w2, w30, w5);
1401 TEST_3R("srar.b", 24, 168, w3, w3, w3);
1402 TEST_3R("srar.b", 32, 208, w4, w4, w18);
1403 TEST_3R("srar.b", 40, 152, w5, w0, w8);
1404 TEST_3R("srar.b", 48, 72, w6, w30, w11);
1405 TEST_3R("srar.b", 56, 208, w7, w24, w18);
1406 TEST_3R("srar.b", 64, 216, w8, w25, w19);
1407 TEST_3R("srar.b", 72, 152, w9, w18, w19);
1408 TEST_3R("srar.b", 80, 112, w10, w22, w9);
1409 TEST_3R("srar.b", 88, 168, w11, w2, w14);
1410 TEST_3R("srar.b", 96, 208, w12, w21, w27);
1411 TEST_3R("srar.b", 104, 80, w13, w19, w0);
1412 TEST_3R("srar.b", 112, 160, w14, w13, w18);
1413 TEST_3R("srar.b", 120, 80, w15, w14, w23);
1414 TEST_3R("srar.b", 128, 200, w16, w26, w22);
1415 TEST_3R("srar.b", 136, 216, w17, w3, w14);
1416 TEST_3R("srar.b", 144, 48, w18, w10, w7);
1417 TEST_3R("srar.b", 152, 64, w19, w18, w25);
1418 TEST_3R("srar.b", 160, 104, w20, w30, w15);
1419 TEST_3R("srar.b", 168, 232, w21, w4, w17);
1420 TEST_3R("srar.b", 176, 192, w22, w1, w22);
1421 TEST_3R("srar.b", 184, 32, w23, w22, w25);
1422 TEST_3R("srar.b", 192, 72, w24, w25, w6);
1423 TEST_3R("srar.b", 200, 192, w25, w16, w16);
1424 TEST_3R("srar.b", 208, 136, w26, w31, w16);
1425 TEST_3R("srar.b", 216, 160, w27, w21, w18);
1426 TEST_3R("srar.b", 224, 184, w28, w25, w10);
1427 TEST_3R("srar.b", 232, 120, w29, w15, w3);
1428 TEST_3R("srar.b", 240, 232, w30, w13, w18);
1429 TEST_3R("srar.b", 16, 224, w31, w17, w3);
1430 TEST_3R("srar.h", 0, 24, w0, w9, w12);
1431 TEST_3R("srar.h", 8, 104, w1, w2, w9);
1432 TEST_3R("srar.h", 16, 72, w2, w18, w29);
1433 TEST_3R("srar.h", 24, 64, w3, w3, w3);
1434 TEST_3R("srar.h", 32, 120, w4, w4, w12);
1435 TEST_3R("srar.h", 40, 160, w5, w30, w31);
1436 TEST_3R("srar.h", 48, 56, w6, w23, w27);
1437 TEST_3R("srar.h", 56, 112, w7, w1, w10);
1438 TEST_3R("srar.h", 64, 48, w8, w15, w24);
1439 TEST_3R("srar.h", 72, 176, w9, w10, w6);
1440 TEST_3R("srar.h", 80, 168, w10, w28, w16);
1441 TEST_3R("srar.h", 88, 200, w11, w4, w18);
1442 TEST_3R("srar.h", 96, 72, w12, w6, w27);
1443 TEST_3R("srar.h", 104, 144, w13, w24, w25);
1444 TEST_3R("srar.h", 112, 144, w14, w26, w5);
1445 TEST_3R("srar.h", 120, 176, w15, w24, w4);
1446 TEST_3R("srar.h", 128, 0, w16, w15, w0);
1447 TEST_3R("srar.h", 136, 224, w17, w16, w10);
1448 TEST_3R("srar.h", 144, 32, w18, w31, w2);
1449 TEST_3R("srar.h", 152, 88, w19, w9, w12);
1450 TEST_3R("srar.h", 160, 104, w20, w9, w8);
1451 TEST_3R("srar.h", 168, 32, w21, w12, w3);
1452 TEST_3R("srar.h", 176, 24, w22, w8, w22);
1453 TEST_3R("srar.h", 184, 40, w23, w10, w1);
1454 TEST_3R("srar.h", 192, 56, w24, w5, w6);
1455 TEST_3R("srar.h", 200, 8, w25, w29, w29);
1456 TEST_3R("srar.h", 208, 72, w26, w0, w13);
1457 TEST_3R("srar.h", 216, 48, w27, w16, w29);
1458 TEST_3R("srar.h", 224, 168, w28, w17, w29);
1459 TEST_3R("srar.h", 232, 160, w29, w20, w6);
1460 TEST_3R("srar.h", 240, 200, w30, w16, w12);
1461 TEST_3R("srar.h", 168, 176, w31, w5, w24);
1462 TEST_3R("srar.w", 0, 64, w0, w11, w13);
1463 TEST_3R("srar.w", 8, 112, w1, w21, w14);
1464 TEST_3R("srar.w", 16, 40, w2, w26, w20);
1465 TEST_3R("srar.w", 24, 152, w3, w3, w3);
1466 TEST_3R("srar.w", 32, 152, w4, w4, w31);
1467 TEST_3R("srar.w", 40, 16, w5, w10, w16);
1468 TEST_3R("srar.w", 48, 56, w6, w0, w1);
1469 TEST_3R("srar.w", 56, 224, w7, w24, w21);
1470 TEST_3R("srar.w", 64, 96, w8, w28, w20);
1471 TEST_3R("srar.w", 72, 72, w9, w8, w12);
1472 TEST_3R("srar.w", 80, 112, w10, w0, w17);
1473 TEST_3R("srar.w", 88, 144, w11, w30, w9);
1474 TEST_3R("srar.w", 96, 48, w12, w10, w27);
1475 TEST_3R("srar.w", 104, 112, w13, w9, w19);
1476 TEST_3R("srar.w", 112, 8, w14, w9, w24);
1477 TEST_3R("srar.w", 120, 184, w15, w25, w27);
1478 TEST_3R("srar.w", 128, 152, w16, w26, w3);
1479 TEST_3R("srar.w", 136, 128, w17, w0, w31);
1480 TEST_3R("srar.w", 144, 176, w18, w22, w7);
1481 TEST_3R("srar.w", 152, 160, w19, w18, w7);
1482 TEST_3R("srar.w", 160, 208, w20, w22, w19);
1483 TEST_3R("srar.w", 168, 72, w21, w31, w20);
1484 TEST_3R("srar.w", 176, 72, w22, w10, w22);
1485 TEST_3R("srar.w", 184, 176, w23, w13, w19);
1486 TEST_3R("srar.w", 192, 184, w24, w14, w28);
1487 TEST_3R("srar.w", 200, 208, w25, w21, w21);
1488 TEST_3R("srar.w", 208, 48, w26, w4, w15);
1489 TEST_3R("srar.w", 216, 112, w27, w7, w31);
1490 TEST_3R("srar.w", 224, 40, w28, w6, w2);
1491 TEST_3R("srar.w", 232, 24, w29, w13, w18);
1492 TEST_3R("srar.w", 240, 128, w30, w20, w16);
1493 TEST_3R("srar.w", 192, 8, w31, w20, w16);
1494 TEST_3R("srar.d", 0, 184, w0, w26, w11);
1495 TEST_3R("srar.d", 8, 168, w1, w13, w14);
1496 TEST_3R("srar.d", 16, 160, w2, w10, w9);
1497 TEST_3R("srar.d", 24, 72, w3, w3, w3);
1498 TEST_3R("srar.d", 32, 216, w4, w4, w0);
1499 TEST_3R("srar.d", 40, 80, w5, w15, w17);
1500 TEST_3R("srar.d", 48, 16, w6, w14, w2);
1501 TEST_3R("srar.d", 56, 112, w7, w16, w10);
1502 TEST_3R("srar.d", 64, 32, w8, w3, w4);
1503 TEST_3R("srar.d", 72, 168, w9, w23, w21);
1504 TEST_3R("srar.d", 80, 56, w10, w11, w5);
1505 TEST_3R("srar.d", 88, 168, w11, w31, w21);
1506 TEST_3R("srar.d", 96, 80, w12, w3, w21);
1507 TEST_3R("srar.d", 104, 40, w13, w10, w22);
1508 TEST_3R("srar.d", 112, 136, w14, w3, w5);
1509 TEST_3R("srar.d", 120, 112, w15, w3, w19);
1510 TEST_3R("srar.d", 128, 232, w16, w9, w3);
1511 TEST_3R("srar.d", 136, 8, w17, w28, w6);
1512 TEST_3R("srar.d", 144, 48, w18, w4, w29);
1513 TEST_3R("srar.d", 152, 104, w19, w8, w9);
1514 TEST_3R("srar.d", 160, 232, w20, w8, w19);
1515 TEST_3R("srar.d", 168, 120, w21, w22, w3);
1516 TEST_3R("srar.d", 176, 104, w22, w3, w22);
1517 TEST_3R("srar.d", 184, 96, w23, w1, w16);
1518 TEST_3R("srar.d", 192, 48, w24, w6, w14);
1519 TEST_3R("srar.d", 200, 136, w25, w15, w15);
1520 TEST_3R("srar.d", 208, 72, w26, w29, w3);
1521 TEST_3R("srar.d", 216, 232, w27, w30, w1);
1522 TEST_3R("srar.d", 224, 16, w28, w17, w9);
1523 TEST_3R("srar.d", 232, 144, w29, w15, w0);
1524 TEST_3R("srar.d", 240, 56, w30, w11, w21);
1525 TEST_3R("srar.d", 136, 200, w31, w14, w0);
1526 TEST_3R("srl.b", 0, 184, w0, w1, w2);
1527 TEST_3R("srl.b", 8, 152, w1, w31, w4);
1528 TEST_3R("srl.b", 16, 48, w2, w2, w2);
1529 TEST_3R("srl.b", 24, 64, w3, w13, w24);
1530 TEST_3R("srl.b", 32, 56, w4, w27, w9);
1531 TEST_3R("srl.b", 40, 8, w5, w19, w24);
1532 TEST_3R("srl.b", 48, 192, w6, w19, w26);
1533 TEST_3R("srl.b", 56, 224, w7, w8, w19);
1534 TEST_3R("srl.b", 64, 232, w8, w15, w8);
1535 TEST_3R("srl.b", 72, 232, w9, w10, w27);
1536 TEST_3R("srl.b", 80, 24, w10, w19, w22);
1537 TEST_3R("srl.b", 88, 72, w11, w21, w0);
1538 TEST_3R("srl.b", 96, 64, w12, w12, w20);
1539 TEST_3R("srl.b", 104, 32, w13, w5, w22);
1540 TEST_3R("srl.b", 112, 104, w14, w29, w26);
1541 TEST_3R("srl.b", 120, 80, w15, w6, w7);
1542 TEST_3R("srl.b", 128, 224, w16, w31, w17);
1543 TEST_3R("srl.b", 136, 216, w17, w25, w7);
1544 TEST_3R("srl.b", 144, 176, w18, w12, w10);
1545 TEST_3R("srl.b", 152, 152, w19, w27, w9);
1546 TEST_3R("srl.b", 160, 80, w20, w23, w21);
1547 TEST_3R("srl.b", 168, 176, w21, w13, w1);
1548 TEST_3R("srl.b", 176, 136, w22, w14, w13);
1549 TEST_3R("srl.b", 184, 128, w23, w18, w1);
1550 TEST_3R("srl.b", 192, 112, w24, w15, w27);
1551 TEST_3R("srl.b", 200, 192, w25, w21, w2);
1552 TEST_3R("srl.b", 208, 48, w26, w20, w19);
1553 TEST_3R("srl.b", 216, 184, w27, w14, w14);
1554 TEST_3R("srl.b", 224, 128, w28, w1, w26);
1555 TEST_3R("srl.b", 232, 72, w29, w5, w22);
1556 TEST_3R("srl.b", 240, 16, w30, w20, w13);
1557 TEST_3R("srl.b", 24, 208, w31, w21, w26);
1558 TEST_3R("srl.h", 0, 32, w0, w8, w18);
1559 TEST_3R("srl.h", 8, 160, w1, w27, w4);
1560 TEST_3R("srl.h", 16, 216, w2, w2, w2);
1561 TEST_3R("srl.h", 24, 96, w3, w19, w18);
1562 TEST_3R("srl.h", 32, 160, w4, w8, w20);
1563 TEST_3R("srl.h", 40, 216, w5, w29, w8);
1564 TEST_3R("srl.h", 48, 120, w6, w11, w2);
1565 TEST_3R("srl.h", 56, 88, w7, w5, w17);
1566 TEST_3R("srl.h", 64, 80, w8, w22, w8);
1567 TEST_3R("srl.h", 72, 168, w9, w8, w25);
1568 TEST_3R("srl.h", 80, 64, w10, w3, w30);
1569 TEST_3R("srl.h", 88, 80, w11, w16, w29);
1570 TEST_3R("srl.h", 96, 144, w12, w12, w20);
1571 TEST_3R("srl.h", 104, 16, w13, w6, w7);
1572 TEST_3R("srl.h", 112, 104, w14, w23, w16);
1573 TEST_3R("srl.h", 120, 160, w15, w27, w13);
1574 TEST_3R("srl.h", 128, 160, w16, w5, w24);
1575 TEST_3R("srl.h", 136, 128, w17, w29, w13);
1576 TEST_3R("srl.h", 144, 208, w18, w25, w3);
1577 TEST_3R("srl.h", 152, 16, w19, w1, w29);
1578 TEST_3R("srl.h", 160, 88, w20, w4, w27);
1579 TEST_3R("srl.h", 168, 176, w21, w16, w12);
1580 TEST_3R("srl.h", 176, 152, w22, w0, w25);
1581 TEST_3R("srl.h", 184, 64, w23, w8, w0);
1582 TEST_3R("srl.h", 192, 128, w24, w28, w15);
1583 TEST_3R("srl.h", 200, 24, w25, w31, w21);
1584 TEST_3R("srl.h", 208, 136, w26, w5, w6);
1585 TEST_3R("srl.h", 216, 232, w27, w19, w19);
1586 TEST_3R("srl.h", 224, 200, w28, w19, w22);
1587 TEST_3R("srl.h", 232, 96, w29, w21, w19);
1588 TEST_3R("srl.h", 240, 56, w30, w25, w15);
1589 TEST_3R("srl.h", 112, 232, w31, w9, w27);
1590 TEST_3R("srl.w", 0, 136, w0, w27, w23);
1591 TEST_3R("srl.w", 8, 208, w1, w3, w23);
1592 TEST_3R("srl.w", 16, 8, w2, w2, w2);
1593 TEST_3R("srl.w", 24, 16, w3, w19, w0);
1594 TEST_3R("srl.w", 32, 40, w4, w19, w21);
1595 TEST_3R("srl.w", 40, 56, w5, w24, w27);
1596 TEST_3R("srl.w", 48, 24, w6, w11, w3);
1597 TEST_3R("srl.w", 56, 16, w7, w2, w18);
1598 TEST_3R("srl.w", 64, 192, w8, w21, w8);
1599 TEST_3R("srl.w", 72, 120, w9, w26, w4);
1600 TEST_3R("srl.w", 80, 120, w10, w3, w31);
1601 TEST_3R("srl.w", 88, 184, w11, w3, w27);
1602 TEST_3R("srl.w", 96, 56, w12, w12, w0);
1603 TEST_3R("srl.w", 104, 72, w13, w7, w16);
1604 TEST_3R("srl.w", 112, 200, w14, w26, w16);
1605 TEST_3R("srl.w", 120, 8, w15, w13, w5);
1606 TEST_3R("srl.w", 128, 176, w16, w6, w0);
1607 TEST_3R("srl.w", 136, 112, w17, w3, w27);
1608 TEST_3R("srl.w", 144, 8, w18, w21, w28);
1609 TEST_3R("srl.w", 152, 104, w19, w24, w22);
1610 TEST_3R("srl.w", 160, 200, w20, w19, w25);
1611 TEST_3R("srl.w", 168, 200, w21, w11, w29);
1612 TEST_3R("srl.w", 176, 128, w22, w27, w29);
1613 TEST_3R("srl.w", 184, 208, w23, w2, w13);
1614 TEST_3R("srl.w", 192, 168, w24, w28, w30);
1615 TEST_3R("srl.w", 200, 48, w25, w10, w3);
1616 TEST_3R("srl.w", 208, 224, w26, w16, w4);
1617 TEST_3R("srl.w", 216, 128, w27, w1, w1);
1618 TEST_3R("srl.w", 224, 152, w28, w30, w21);
1619 TEST_3R("srl.w", 232, 112, w29, w26, w30);
1620 TEST_3R("srl.w", 240, 200, w30, w16, w11);
1621 TEST_3R("srl.w", 64, 160, w31, w10, w24);
1622 TEST_3R("srl.d", 0, 32, w0, w14, w4);
1623 TEST_3R("srl.d", 8, 112, w1, w16, w17);
1624 TEST_3R("srl.d", 16, 24, w2, w2, w2);
1625 TEST_3R("srl.d", 24, 96, w3, w15, w2);
1626 TEST_3R("srl.d", 32, 0, w4, w19, w21);
1627 TEST_3R("srl.d", 40, 8, w5, w23, w24);
1628 TEST_3R("srl.d", 48, 120, w6, w30, w23);
1629 TEST_3R("srl.d", 56, 120, w7, w27, w17);
1630 TEST_3R("srl.d", 64, 176, w8, w16, w8);
1631 TEST_3R("srl.d", 72, 88, w9, w7, w24);
1632 TEST_3R("srl.d", 80, 32, w10, w31, w12);
1633 TEST_3R("srl.d", 88, 48, w11, w0, w26);
1634 TEST_3R("srl.d", 96, 232, w12, w12, w7);
1635 TEST_3R("srl.d", 104, 24, w13, w8, w14);
1636 TEST_3R("srl.d", 112, 232, w14, w24, w17);
1637 TEST_3R("srl.d", 120, 112, w15, w11, w6);
1638 TEST_3R("srl.d", 128, 120, w16, w2, w31);
1639 TEST_3R("srl.d", 136, 120, w17, w0, w22);
1640 TEST_3R("srl.d", 144, 112, w18, w28, w7);
1641 TEST_3R("srl.d", 152, 216, w19, w12, w9);
1642 TEST_3R("srl.d", 160, 24, w20, w5, w21);
1643 TEST_3R("srl.d", 168, 88, w21, w17, w8);
1644 TEST_3R("srl.d", 176, 192, w22, w11, w31);
1645 TEST_3R("srl.d", 184, 160, w23, w22, w8);
1646 TEST_3R("srl.d", 192, 160, w24, w14, w0);
1647 TEST_3R("srl.d", 200, 8, w25, w29, w11);
1648 TEST_3R("srl.d", 208, 40, w26, w19, w13);
1649 TEST_3R("srl.d", 216, 152, w27, w18, w18);
1650 TEST_3R("srl.d", 224, 72, w28, w0, w14);
1651 TEST_3R("srl.d", 232, 64, w29, w7, w5);
1652 TEST_3R("srl.d", 240, 216, w30, w17, w4);
1653 TEST_3R("srl.d", 232, 72, w31, w6, w2);
1654 TEST_3R("srlr.b", 0, 168, w0, w0, w0);
1655 TEST_3R("srlr.b", 8, 168, w1, w22, w24);
1656 TEST_3R("srlr.b", 16, 168, w2, w22, w29);
1657 TEST_3R("srlr.b", 24, 40, w3, w1, w8);
1658 TEST_3R("srlr.b", 32, 40, w4, w14, w18);
1659 TEST_3R("srlr.b", 40, 128, w5, w28, w28);
1660 TEST_3R("srlr.b", 48, 24, w6, w13, w5);
1661 TEST_3R("srlr.b", 56, 168, w7, w19, w27);
1662 TEST_3R("srlr.b", 64, 160, w8, w23, w22);
1663 TEST_3R("srlr.b", 72, 160, w9, w25, w2);
1664 TEST_3R("srlr.b", 80, 88, w10, w25, w26);
1665 TEST_3R("srlr.b", 88, 96, w11, w30, w8);
1666 TEST_3R("srlr.b", 96, 72, w12, w22, w4);
1667 TEST_3R("srlr.b", 104, 232, w13, w19, w30);
1668 TEST_3R("srlr.b", 112, 8, w14, w27, w14);
1669 TEST_3R("srlr.b", 120, 168, w15, w11, w13);
1670 TEST_3R("srlr.b", 128, 88, w16, w7, w31);
1671 TEST_3R("srlr.b", 136, 120, w17, w13, w25);
1672 TEST_3R("srlr.b", 144, 0, w18, w8, w3);
1673 TEST_3R("srlr.b", 152, 8, w19, w31, w20);
1674 TEST_3R("srlr.b", 160, 72, w20, w1, w21);
1675 TEST_3R("srlr.b", 168, 176, w21, w3, w19);
1676 TEST_3R("srlr.b", 176, 216, w22, w8, w9);
1677 TEST_3R("srlr.b", 184, 136, w23, w23, w3);
1678 TEST_3R("srlr.b", 192, 40, w24, w6, w0);
1679 TEST_3R("srlr.b", 200, 112, w25, w18, w12);
1680 TEST_3R("srlr.b", 208, 192, w26, w30, w19);
1681 TEST_3R("srlr.b", 216, 184, w27, w23, w0);
1682 TEST_3R("srlr.b", 224, 96, w28, w3, w9);
1683 TEST_3R("srlr.b", 232, 48, w29, w6, w8);
1684 TEST_3R("srlr.b", 240, 40, w30, w2, w9);
1685 TEST_3R("srlr.b", 104, 120, w31, w23, w5);
1686 TEST_3R("srlr.h", 0, 88, w0, w0, w0);
1687 TEST_3R("srlr.h", 8, 64, w1, w22, w19);
1688 TEST_3R("srlr.h", 16, 112, w2, w25, w16);
1689 TEST_3R("srlr.h", 24, 184, w3, w26, w9);
1690 TEST_3R("srlr.h", 32, 176, w4, w6, w15);
1691 TEST_3R("srlr.h", 40, 112, w5, w25, w25);
1692 TEST_3R("srlr.h", 48, 64, w6, w30, w26);
1693 TEST_3R("srlr.h", 56, 160, w7, w1, w3);
1694 TEST_3R("srlr.h", 64, 88, w8, w7, w11);
1695 TEST_3R("srlr.h", 72, 112, w9, w20, w22);
1696 TEST_3R("srlr.h", 80, 88, w10, w25, w4);
1697 TEST_3R("srlr.h", 88, 200, w11, w2, w26);
1698 TEST_3R("srlr.h", 96, 88, w12, w18, w20);
1699 TEST_3R("srlr.h", 104, 16, w13, w9, w14);
1700 TEST_3R("srlr.h", 112, 112, w14, w19, w14);
1701 TEST_3R("srlr.h", 120, 88, w15, w6, w26);
1702 TEST_3R("srlr.h", 128, 16, w16, w27, w25);
1703 TEST_3R("srlr.h", 136, 8, w17, w14, w26);
1704 TEST_3R("srlr.h", 144, 64, w18, w3, w2);
1705 TEST_3R("srlr.h", 152, 88, w19, w14, w11);
1706 TEST_3R("srlr.h", 160, 144, w20, w5, w12);
1707 TEST_3R("srlr.h", 168, 48, w21, w9, w22);
1708 TEST_3R("srlr.h", 176, 24, w22, w4, w20);
1709 TEST_3R("srlr.h", 184, 192, w23, w23, w24);
1710 TEST_3R("srlr.h", 192, 216, w24, w1, w6);
1711 TEST_3R("srlr.h", 200, 160, w25, w20, w26);
1712 TEST_3R("srlr.h", 208, 88, w26, w15, w7);
1713 TEST_3R("srlr.h", 216, 88, w27, w8, w15);
1714 TEST_3R("srlr.h", 224, 120, w28, w2, w25);
1715 TEST_3R("srlr.h", 232, 8, w29, w4, w15);
1716 TEST_3R("srlr.h", 240, 16, w30, w16, w25);
1717 TEST_3R("srlr.h", 16, 64, w31, w28, w10);
1718 TEST_3R("srlr.w", 0, 120, w0, w0, w0);
1719 TEST_3R("srlr.w", 8, 208, w1, w7, w26);
1720 TEST_3R("srlr.w", 16, 120, w2, w10, w27);
1721 TEST_3R("srlr.w", 24, 144, w3, w4, w16);
1722 TEST_3R("srlr.w", 32, 136, w4, w5, w31);
1723 TEST_3R("srlr.w", 40, 48, w5, w1, w1);
1724 TEST_3R("srlr.w", 48, 216, w6, w28, w11);
1725 TEST_3R("srlr.w", 56, 40, w7, w22, w24);
1726 TEST_3R("srlr.w", 64, 168, w8, w5, w20);
1727 TEST_3R("srlr.w", 72, 104, w9, w30, w20);
1728 TEST_3R("srlr.w", 80, 168, w10, w26, w30);
1729 TEST_3R("srlr.w", 88, 96, w11, w28, w12);
1730 TEST_3R("srlr.w", 96, 88, w12, w22, w18);
1731 TEST_3R("srlr.w", 104, 64, w13, w18, w30);
1732 TEST_3R("srlr.w", 112, 0, w14, w2, w14);
1733 TEST_3R("srlr.w", 120, 16, w15, w7, w1);
1734 TEST_3R("srlr.w", 128, 168, w16, w9, w8);
1735 TEST_3R("srlr.w", 136, 40, w17, w20, w4);
1736 TEST_3R("srlr.w", 144, 112, w18, w31, w9);
1737 TEST_3R("srlr.w", 152, 64, w19, w29, w7);
1738 TEST_3R("srlr.w", 160, 64, w20, w23, w2);
1739 TEST_3R("srlr.w", 168, 192, w21, w4, w30);
1740 TEST_3R("srlr.w", 176, 160, w22, w23, w21);
1741 TEST_3R("srlr.w", 184, 128, w23, w23, w21);
1742 TEST_3R("srlr.w", 192, 120, w24, w17, w23);
1743 TEST_3R("srlr.w", 200, 88, w25, w22, w30);
1744 TEST_3R("srlr.w", 208, 112, w26, w8, w7);
1745 TEST_3R("srlr.w", 216, 224, w27, w22, w28);
1746 TEST_3R("srlr.w", 224, 32, w28, w27, w9);
1747 TEST_3R("srlr.w", 232, 128, w29, w4, w10);
1748 TEST_3R("srlr.w", 240, 88, w30, w12, w31);
1749 TEST_3R("srlr.w", 8, 88, w31, w14, w19);
1750 TEST_3R("srlr.d", 0, 192, w0, w0, w0);
1751 TEST_3R("srlr.d", 8, 24, w1, w19, w7);
1752 TEST_3R("srlr.d", 16, 152, w2, w8, w24);
1753 TEST_3R("srlr.d", 24, 104, w3, w17, w14);
1754 TEST_3R("srlr.d", 32, 96, w4, w27, w22);
1755 TEST_3R("srlr.d", 40, 216, w5, w13, w13);
1756 TEST_3R("srlr.d", 48, 168, w6, w1, w17);
1757 TEST_3R("srlr.d", 56, 232, w7, w10, w20);
1758 TEST_3R("srlr.d", 64, 144, w8, w20, w24);
1759 TEST_3R("srlr.d", 72, 144, w9, w12, w6);
1760 TEST_3R("srlr.d", 80, 104, w10, w8, w19);
1761 TEST_3R("srlr.d", 88, 96, w11, w28, w20);
1762 TEST_3R("srlr.d", 96, 88, w12, w4, w29);
1763 TEST_3R("srlr.d", 104, 216, w13, w4, w14);
1764 TEST_3R("srlr.d", 112, 184, w14, w2, w14);
1765 TEST_3R("srlr.d", 120, 64, w15, w0, w7);
1766 TEST_3R("srlr.d", 128, 184, w16, w13, w9);
1767 TEST_3R("srlr.d", 136, 200, w17, w21, w19);
1768 TEST_3R("srlr.d", 144, 112, w18, w1, w8);
1769 TEST_3R("srlr.d", 152, 88, w19, w26, w28);
1770 TEST_3R("srlr.d", 160, 160, w20, w0, w3);
1771 TEST_3R("srlr.d", 168, 64, w21, w19, w31);
1772 TEST_3R("srlr.d", 176, 96, w22, w8, w1);
1773 TEST_3R("srlr.d", 184, 136, w23, w23, w5);
1774 TEST_3R("srlr.d", 192, 224, w24, w10, w19);
1775 TEST_3R("srlr.d", 200, 224, w25, w12, w29);
1776 TEST_3R("srlr.d", 208, 80, w26, w20, w21);
1777 TEST_3R("srlr.d", 216, 224, w27, w29, w8);
1778 TEST_3R("srlr.d", 224, 136, w28, w26, w9);
1779 TEST_3R("srlr.d", 232, 192, w29, w11, w3);
1780 TEST_3R("srlr.d", 240, 168, w30, w8, w4);
1781 TEST_3R("srlr.d", 192, 0, w31, w14, w23);
1782 TEST_BIT("bclri.b", 0, w0, w1, 7);
1783 TEST_BIT("bclri.b", 8, w1, w27, 0);
1784 TEST_BIT("bclri.b", 16, w2, w21, 1);
1785 TEST_BIT("bclri.b", 24, w3, w2, 2);
1786 TEST_BIT("bclri.b", 32, w4, w20, 3);
1787 TEST_BIT("bclri.b", 40, w5, w31, 4);
1788 TEST_BIT("bclri.b", 48, w6, w28, 5);
1789 TEST_BIT("bclri.b", 56, w7, w2, 6);
1790 TEST_BIT("bclri.b", 64, w8, w13, 7);
1791 TEST_BIT("bclri.b", 72, w9, w28, 0);
1792 TEST_BIT("bclri.b", 80, w10, w13, 1);
1793 TEST_BIT("bclri.b", 88, w11, w4, 2);
1794 TEST_BIT("bclri.b", 96, w12, w4, 3);
1795 TEST_BIT("bclri.b", 104, w13, w8, 4);
1796 TEST_BIT("bclri.b", 112, w14, w13, 5);
1797 TEST_BIT("bclri.b", 120, w15, w20, 6);
1798 TEST_BIT("bclri.b", 128, w16, w22, 7);
1799 TEST_BIT("bclri.b", 136, w17, w29, 0);
1800 TEST_BIT("bclri.b", 144, w18, w9, 1);
1801 TEST_BIT("bclri.b", 152, w19, w8, 2);
1802 TEST_BIT("bclri.b", 160, w20, w11, 3);
1803 TEST_BIT("bclri.b", 168, w21, w10, 4);
1804 TEST_BIT("bclri.b", 176, w22, w19, 5);
1805 TEST_BIT("bclri.b", 184, w23, w23, 6);
1806 TEST_BIT("bclri.b", 192, w24, w24, 7);
1807 TEST_BIT("bclri.b", 200, w25, w16, 0);
1808 TEST_BIT("bclri.b", 208, w26, w0, 1);
1809 TEST_BIT("bclri.b", 216, w27, w17, 2);
1810 TEST_BIT("bclri.b", 224, w28, w16, 3);
1811 TEST_BIT("bclri.b", 232, w29, w9, 4);
1812 TEST_BIT("bclri.b", 240, w30, w17, 5);
1813 TEST_BIT("bclri.b", 208, w31, w30, 6);
1814 TEST_BIT("bclri.h", 0, w0, w25, 15);
1815 TEST_BIT("bclri.h", 8, w1, w22, 0);
1816 TEST_BIT("bclri.h", 16, w2, w31, 1);
1817 TEST_BIT("bclri.h", 24, w3, w17, 2);
1818 TEST_BIT("bclri.h", 32, w4, w29, 3);
1819 TEST_BIT("bclri.h", 40, w5, w27, 4);
1820 TEST_BIT("bclri.h", 48, w6, w17, 5);
1821 TEST_BIT("bclri.h", 56, w7, w2, 6);
1822 TEST_BIT("bclri.h", 64, w8, w0, 7);
1823 TEST_BIT("bclri.h", 72, w9, w5, 8);
1824 TEST_BIT("bclri.h", 80, w10, w7, 9);
1825 TEST_BIT("bclri.h", 88, w11, w22, 10);
1826 TEST_BIT("bclri.h", 96, w12, w9, 11);
1827 TEST_BIT("bclri.h", 104, w13, w2, 12);
1828 TEST_BIT("bclri.h", 112, w14, w5, 13);
1829 TEST_BIT("bclri.h", 120, w15, w23, 14);
1830 TEST_BIT("bclri.h", 128, w16, w28, 15);
1831 TEST_BIT("bclri.h", 136, w17, w20, 0);
1832 TEST_BIT("bclri.h", 144, w18, w12, 1);
1833 TEST_BIT("bclri.h", 152, w19, w21, 2);
1834 TEST_BIT("bclri.h", 160, w20, w4, 3);
1835 TEST_BIT("bclri.h", 168, w21, w31, 4);
1836 TEST_BIT("bclri.h", 176, w22, w21, 5);
1837 TEST_BIT("bclri.h", 184, w23, w23, 6);
1838 TEST_BIT("bclri.h", 192, w24, w24, 7);
1839 TEST_BIT("bclri.h", 200, w25, w22, 8);
1840 TEST_BIT("bclri.h", 208, w26, w3, 9);
1841 TEST_BIT("bclri.h", 216, w27, w21, 10);
1842 TEST_BIT("bclri.h", 224, w28, w17, 11);
1843 TEST_BIT("bclri.h", 232, w29, w27, 12);
1844 TEST_BIT("bclri.h", 240, w30, w19, 13);
1845 TEST_BIT("bclri.h", 64, w31, w17, 14);
1846 TEST_BIT("bclri.w", 0, w0, w8, 31);
1847 TEST_BIT("bclri.w", 8, w1, w13, 0);
1848 TEST_BIT("bclri.w", 16, w2, w11, 1);
1849 TEST_BIT("bclri.w", 24, w3, w2, 2);
1850 TEST_BIT("bclri.w", 32, w4, w7, 3);
1851 TEST_BIT("bclri.w", 40, w5, w19, 4);
1852 TEST_BIT("bclri.w", 48, w6, w24, 5);
1853 TEST_BIT("bclri.w", 56, w7, w11, 6);
1854 TEST_BIT("bclri.w", 64, w8, w19, 7);
1855 TEST_BIT("bclri.w", 72, w9, w0, 8);
1856 TEST_BIT("bclri.w", 80, w10, w28, 9);
1857 TEST_BIT("bclri.w", 88, w11, w1, 10);
1858 TEST_BIT("bclri.w", 96, w12, w1, 11);
1859 TEST_BIT("bclri.w", 104, w13, w8, 12);
1860 TEST_BIT("bclri.w", 112, w14, w26, 13);
1861 TEST_BIT("bclri.w", 120, w15, w12, 14);
1862 TEST_BIT("bclri.w", 128, w16, w3, 15);
1863 TEST_BIT("bclri.w", 136, w17, w23, 16);
1864 TEST_BIT("bclri.w", 144, w18, w11, 17);
1865 TEST_BIT("bclri.w", 152, w19, w1, 18);
1866 TEST_BIT("bclri.w", 160, w20, w23, 19);
1867 TEST_BIT("bclri.w", 168, w21, w31, 20);
1868 TEST_BIT("bclri.w", 176, w22, w2, 21);
1869 TEST_BIT("bclri.w", 184, w23, w23, 22);
1870 TEST_BIT("bclri.w", 192, w24, w24, 23);
1871 TEST_BIT("bclri.w", 200, w25, w3, 24);
1872 TEST_BIT("bclri.w", 208, w26, w8, 25);
1873 TEST_BIT("bclri.w", 216, w27, w30, 26);
1874 TEST_BIT("bclri.w", 224, w28, w13, 27);
1875 TEST_BIT("bclri.w", 232, w29, w7, 28);
1876 TEST_BIT("bclri.w", 240, w30, w19, 29);
1877 TEST_BIT("bclri.w", 24, w31, w14, 30);
1878 TEST_BIT("bclri.d", 0, w0, w3, 63);
1879 TEST_BIT("bclri.d", 8, w1, w7, 0);
1880 TEST_BIT("bclri.d", 16, w2, w18, 1);
1881 TEST_BIT("bclri.d", 24, w3, w19, 2);
1882 TEST_BIT("bclri.d", 32, w4, w14, 3);
1883 TEST_BIT("bclri.d", 40, w5, w10, 4);
1884 TEST_BIT("bclri.d", 48, w6, w13, 5);
1885 TEST_BIT("bclri.d", 56, w7, w25, 6);
1886 TEST_BIT("bclri.d", 64, w8, w15, 7);
1887 TEST_BIT("bclri.d", 72, w9, w7, 8);
1888 TEST_BIT("bclri.d", 80, w10, w31, 9);
1889 TEST_BIT("bclri.d", 88, w11, w27, 10);
1890 TEST_BIT("bclri.d", 96, w12, w24, 11);
1891 TEST_BIT("bclri.d", 104, w13, w17, 12);
1892 TEST_BIT("bclri.d", 112, w14, w30, 13);
1893 TEST_BIT("bclri.d", 120, w15, w7, 14);
1894 TEST_BIT("bclri.d", 128, w16, w20, 15);
1895 TEST_BIT("bclri.d", 136, w17, w21, 16);
1896 TEST_BIT("bclri.d", 144, w18, w1, 17);
1897 TEST_BIT("bclri.d", 152, w19, w25, 18);
1898 TEST_BIT("bclri.d", 160, w20, w4, 19);
1899 TEST_BIT("bclri.d", 168, w21, w23, 20);
1900 TEST_BIT("bclri.d", 176, w22, w17, 21);
1901 TEST_BIT("bclri.d", 184, w23, w23, 22);
1902 TEST_BIT("bclri.d", 192, w24, w24, 23);
1903 TEST_BIT("bclri.d", 200, w25, w16, 24);
1904 TEST_BIT("bclri.d", 208, w26, w18, 25);
1905 TEST_BIT("bclri.d", 216, w27, w12, 26);
1906 TEST_BIT("bclri.d", 224, w28, w9, 27);
1907 TEST_BIT("bclri.d", 232, w29, w16, 28);
1908 TEST_BIT("bclri.d", 240, w30, w24, 29);
1909 TEST_BIT("bclri.d", 208, w31, w27, 30);
1910 TEST_BIT("binsli.b", 0, w0, w12, 3);
1911 TEST_BIT("binsli.b", 8, w1, w16, 4);
1912 TEST_BIT("binsli.b", 16, w2, w25, 5);
1913 TEST_BIT("binsli.b", 24, w3, w8, 6);
1914 TEST_BIT("binsli.b", 32, w4, w5, 7);
1915 TEST_BIT("binsli.b", 40, w5, w5, 0);
1916 TEST_BIT("binsli.b", 48, w6, w6, 1);
1917 TEST_BIT("binsli.b", 56, w7, w21, 2);
1918 TEST_BIT("binsli.b", 64, w8, w12, 3);
1919 TEST_BIT("binsli.b", 72, w9, w4, 4);
1920 TEST_BIT("binsli.b", 80, w10, w20, 5);
1921 TEST_BIT("binsli.b", 88, w11, w2, 6);
1922 TEST_BIT("binsli.b", 96, w12, w18, 7);
1923 TEST_BIT("binsli.b", 104, w13, w8, 0);
1924 TEST_BIT("binsli.b", 112, w14, w30, 1);
1925 TEST_BIT("binsli.b", 120, w15, w7, 2);
1926 TEST_BIT("binsli.b", 128, w16, w27, 3);
1927 TEST_BIT("binsli.b", 136, w17, w8, 4);
1928 TEST_BIT("binsli.b", 144, w18, w1, 5);
1929 TEST_BIT("binsli.b", 152, w19, w9, 6);
1930 TEST_BIT("binsli.b", 160, w20, w1, 7);
1931 TEST_BIT("binsli.b", 168, w21, w22, 0);
1932 TEST_BIT("binsli.b", 176, w22, w3, 1);
1933 TEST_BIT("binsli.b", 184, w23, w27, 2);
1934 TEST_BIT("binsli.b", 192, w24, w2, 3);
1935 TEST_BIT("binsli.b", 200, w25, w15, 4);
1936 TEST_BIT("binsli.b", 208, w26, w6, 5);
1937 TEST_BIT("binsli.b", 216, w27, w2, 6);
1938 TEST_BIT("binsli.b", 224, w28, w14, 7);
1939 TEST_BIT("binsli.b", 232, w29, w30, 0);
1940 TEST_BIT("binsli.b", 240, w30, w25, 1);
1941 TEST_BIT("binsli.b", 24, w31, w30, 2);
1942 TEST_BIT("binsli.h", 0, w0, w26, 3);
1943 TEST_BIT("binsli.h", 8, w1, w13, 4);
1944 TEST_BIT("binsli.h", 16, w2, w4, 5);
1945 TEST_BIT("binsli.h", 24, w3, w18, 6);
1946 TEST_BIT("binsli.h", 32, w4, w8, 7);
1947 TEST_BIT("binsli.h", 40, w5, w5, 8);
1948 TEST_BIT("binsli.h", 48, w6, w6, 9);
1949 TEST_BIT("binsli.h", 56, w7, w4, 10);
1950 TEST_BIT("binsli.h", 64, w8, w22, 11);
1951 TEST_BIT("binsli.h", 72, w9, w29, 12);
1952 TEST_BIT("binsli.h", 80, w10, w26, 13);
1953 TEST_BIT("binsli.h", 88, w11, w25, 14);
1954 TEST_BIT("binsli.h", 96, w12, w23, 15);
1955 TEST_BIT("binsli.h", 104, w13, w6, 0);
1956 TEST_BIT("binsli.h", 112, w14, w12, 1);
1957 TEST_BIT("binsli.h", 120, w15, w13, 2);
1958 TEST_BIT("binsli.h", 128, w16, w25, 3);
1959 TEST_BIT("binsli.h", 136, w17, w4, 4);
1960 TEST_BIT("binsli.h", 144, w18, w28, 5);
1961 TEST_BIT("binsli.h", 152, w19, w0, 6);
1962 TEST_BIT("binsli.h", 160, w20, w23, 7);
1963 TEST_BIT("binsli.h", 168, w21, w28, 8);
1964 TEST_BIT("binsli.h", 176, w22, w8, 9);
1965 TEST_BIT("binsli.h", 184, w23, w3, 10);
1966 TEST_BIT("binsli.h", 192, w24, w5, 11);
1967 TEST_BIT("binsli.h", 200, w25, w20, 12);
1968 TEST_BIT("binsli.h", 208, w26, w17, 13);
1969 TEST_BIT("binsli.h", 216, w27, w19, 14);
1970 TEST_BIT("binsli.h", 224, w28, w26, 15);
1971 TEST_BIT("binsli.h", 232, w29, w16, 0);
1972 TEST_BIT("binsli.h", 240, w30, w0, 1);
1973 TEST_BIT("binsli.h", 216, w31, w13, 2);
1974 TEST_BIT("binsli.w", 0, w0, w5, 3);
1975 TEST_BIT("binsli.w", 8, w1, w20, 4);
1976 TEST_BIT("binsli.w", 16, w2, w11, 5);
1977 TEST_BIT("binsli.w", 24, w3, w2, 6);
1978 TEST_BIT("binsli.w", 32, w4, w17, 7);
1979 TEST_BIT("binsli.w", 40, w5, w5, 8);
1980 TEST_BIT("binsli.w", 48, w6, w6, 9);
1981 TEST_BIT("binsli.w", 56, w7, w1, 10);
1982 TEST_BIT("binsli.w", 64, w8, w29, 11);
1983 TEST_BIT("binsli.w", 72, w9, w28, 12);
1984 TEST_BIT("binsli.w", 80, w10, w7, 13);
1985 TEST_BIT("binsli.w", 88, w11, w5, 14);
1986 TEST_BIT("binsli.w", 96, w12, w8, 15);
1987 TEST_BIT("binsli.w", 104, w13, w17, 16);
1988 TEST_BIT("binsli.w", 112, w14, w15, 17);
1989 TEST_BIT("binsli.w", 120, w15, w29, 18);
1990 TEST_BIT("binsli.w", 128, w16, w31, 19);
1991 TEST_BIT("binsli.w", 136, w17, w31, 20);
1992 TEST_BIT("binsli.w", 144, w18, w19, 21);
1993 TEST_BIT("binsli.w", 152, w19, w11, 22);
1994 TEST_BIT("binsli.w", 160, w20, w15, 23);
1995 TEST_BIT("binsli.w", 168, w21, w26, 24);
1996 TEST_BIT("binsli.w", 176, w22, w16, 25);
1997 TEST_BIT("binsli.w", 184, w23, w22, 26);
1998 TEST_BIT("binsli.w", 192, w24, w2, 27);
1999 TEST_BIT("binsli.w", 200, w25, w31, 28);
2000 TEST_BIT("binsli.w", 208, w26, w0, 29);
2001 TEST_BIT("binsli.w", 216, w27, w4, 30);
2002 TEST_BIT("binsli.w", 224, w28, w8, 31);
2003 TEST_BIT("binsli.w", 232, w29, w27, 0);
2004 TEST_BIT("binsli.w", 240, w30, w3, 1);
2005 TEST_BIT("binsli.w", 216, w31, w23, 2);
2006 TEST_BIT("binsli.d", 0, w0, w22, 3);
2007 TEST_BIT("binsli.d", 8, w1, w29, 4);
2008 TEST_BIT("binsli.d", 16, w2, w16, 5);
2009 TEST_BIT("binsli.d", 24, w3, w19, 6);
2010 TEST_BIT("binsli.d", 32, w4, w18, 7);
2011 TEST_BIT("binsli.d", 40, w5, w5, 8);
2012 TEST_BIT("binsli.d", 48, w6, w6, 9);
2013 TEST_BIT("binsli.d", 56, w7, w2, 10);
2014 TEST_BIT("binsli.d", 64, w8, w7, 11);
2015 TEST_BIT("binsli.d", 72, w9, w11, 12);
2016 TEST_BIT("binsli.d", 80, w10, w16, 13);
2017 TEST_BIT("binsli.d", 88, w11, w26, 14);
2018 TEST_BIT("binsli.d", 96, w12, w30, 15);
2019 TEST_BIT("binsli.d", 104, w13, w8, 16);
2020 TEST_BIT("binsli.d", 112, w14, w19, 17);
2021 TEST_BIT("binsli.d", 120, w15, w3, 18);
2022 TEST_BIT("binsli.d", 128, w16, w12, 19);
2023 TEST_BIT("binsli.d", 136, w17, w1, 20);
2024 TEST_BIT("binsli.d", 144, w18, w15, 21);
2025 TEST_BIT("binsli.d", 152, w19, w11, 22);
2026 TEST_BIT("binsli.d", 160, w20, w7, 23);
2027 TEST_BIT("binsli.d", 168, w21, w0, 24);
2028 TEST_BIT("binsli.d", 176, w22, w11, 25);
2029 TEST_BIT("binsli.d", 184, w23, w27, 26);
2030 TEST_BIT("binsli.d", 192, w24, w12, 27);
2031 TEST_BIT("binsli.d", 200, w25, w17, 28);
2032 TEST_BIT("binsli.d", 208, w26, w19, 29);
2033 TEST_BIT("binsli.d", 216, w27, w11, 30);
2034 TEST_BIT("binsli.d", 224, w28, w17, 31);
2035 TEST_BIT("binsli.d", 232, w29, w25, 32);
2036 TEST_BIT("binsli.d", 240, w30, w1, 33);
2037 TEST_BIT("binsli.d", 48, w31, w14, 34);
2038 TEST_BIT("binsri.b", 0, w0, w1, 7);
2039 TEST_BIT("binsri.b", 8, w1, w1, 0);
2040 TEST_BIT("binsri.b", 16, w2, w1, 1);
2041 TEST_BIT("binsri.b", 24, w3, w1, 2);
2042 TEST_BIT("binsri.b", 32, w4, w9, 3);
2043 TEST_BIT("binsri.b", 40, w5, w10, 4);
2044 TEST_BIT("binsri.b", 48, w6, w21, 5);
2045 TEST_BIT("binsri.b", 56, w7, w17, 6);
2046 TEST_BIT("binsri.b", 64, w8, w7, 7);
2047 TEST_BIT("binsri.b", 72, w9, w26, 0);
2048 TEST_BIT("binsri.b", 80, w10, w26, 1);
2049 TEST_BIT("binsri.b", 88, w11, w22, 2);
2050 TEST_BIT("binsri.b", 96, w12, w12, 3);
2051 TEST_BIT("binsri.b", 104, w13, w19, 4);
2052 TEST_BIT("binsri.b", 112, w14, w1, 5);
2053 TEST_BIT("binsri.b", 120, w15, w2, 6);
2054 TEST_BIT("binsri.b", 128, w16, w18, 7);
2055 TEST_BIT("binsri.b", 136, w17, w5, 0);
2056 TEST_BIT("binsri.b", 144, w18, w4, 1);
2057 TEST_BIT("binsri.b", 152, w19, w20, 2);
2058 TEST_BIT("binsri.b", 160, w20, w28, 3);
2059 TEST_BIT("binsri.b", 168, w21, w26, 4);
2060 TEST_BIT("binsri.b", 176, w22, w16, 5);
2061 TEST_BIT("binsri.b", 184, w23, w6, 6);
2062 TEST_BIT("binsri.b", 192, w24, w11, 7);
2063 TEST_BIT("binsri.b", 200, w25, w15, 0);
2064 TEST_BIT("binsri.b", 208, w26, w2, 1);
2065 TEST_BIT("binsri.b", 216, w27, w7, 2);
2066 TEST_BIT("binsri.b", 224, w28, w14, 3);
2067 TEST_BIT("binsri.b", 232, w29, w28, 4);
2068 TEST_BIT("binsri.b", 240, w30, w31, 5);
2069 TEST_BIT("binsri.b", 24, w31, w3, 6);
2070 TEST_BIT("binsri.h", 0, w0, w18, 15);
2071 TEST_BIT("binsri.h", 8, w1, w1, 0);
2072 TEST_BIT("binsri.h", 16, w2, w6, 1);
2073 TEST_BIT("binsri.h", 24, w3, w9, 2);
2074 TEST_BIT("binsri.h", 32, w4, w2, 3);
2075 TEST_BIT("binsri.h", 40, w5, w28, 4);
2076 TEST_BIT("binsri.h", 48, w6, w1, 5);
2077 TEST_BIT("binsri.h", 56, w7, w18, 6);
2078 TEST_BIT("binsri.h", 64, w8, w26, 7);
2079 TEST_BIT("binsri.h", 72, w9, w25, 8);
2080 TEST_BIT("binsri.h", 80, w10, w17, 9);
2081 TEST_BIT("binsri.h", 88, w11, w31, 10);
2082 TEST_BIT("binsri.h", 96, w12, w12, 11);
2083 TEST_BIT("binsri.h", 104, w13, w8, 12);
2084 TEST_BIT("binsri.h", 112, w14, w30, 13);
2085 TEST_BIT("binsri.h", 120, w15, w11, 14);
2086 TEST_BIT("binsri.h", 128, w16, w30, 15);
2087 TEST_BIT("binsri.h", 136, w17, w11, 0);
2088 TEST_BIT("binsri.h", 144, w18, w11, 1);
2089 TEST_BIT("binsri.h", 152, w19, w28, 2);
2090 TEST_BIT("binsri.h", 160, w20, w29, 3);
2091 TEST_BIT("binsri.h", 168, w21, w15, 4);
2092 TEST_BIT("binsri.h", 176, w22, w17, 5);
2093 TEST_BIT("binsri.h", 184, w23, w3, 6);
2094 TEST_BIT("binsri.h", 192, w24, w1, 7);
2095 TEST_BIT("binsri.h", 200, w25, w24, 8);
2096 TEST_BIT("binsri.h", 208, w26, w28, 9);
2097 TEST_BIT("binsri.h", 216, w27, w2, 10);
2098 TEST_BIT("binsri.h", 224, w28, w11, 11);
2099 TEST_BIT("binsri.h", 232, w29, w16, 12);
2100 TEST_BIT("binsri.h", 240, w30, w4, 13);
2101 TEST_BIT("binsri.h", 112, w31, w20, 14);
2102 TEST_BIT("binsri.w", 0, w0, w9, 15);
2103 TEST_BIT("binsri.w", 8, w1, w1, 16);
2104 TEST_BIT("binsri.w", 16, w2, w5, 17);
2105 TEST_BIT("binsri.w", 24, w3, w2, 18);
2106 TEST_BIT("binsri.w", 32, w4, w16, 19);
2107 TEST_BIT("binsri.w", 40, w5, w21, 20);
2108 TEST_BIT("binsri.w", 48, w6, w27, 21);
2109 TEST_BIT("binsri.w", 56, w7, w3, 22);
2110 TEST_BIT("binsri.w", 64, w8, w17, 23);
2111 TEST_BIT("binsri.w", 72, w9, w18, 24);
2112 TEST_BIT("binsri.w", 80, w10, w0, 25);
2113 TEST_BIT("binsri.w", 88, w11, w16, 26);
2114 TEST_BIT("binsri.w", 96, w12, w12, 27);
2115 TEST_BIT("binsri.w", 104, w13, w0, 28);
2116 TEST_BIT("binsri.w", 112, w14, w2, 29);
2117 TEST_BIT("binsri.w", 120, w15, w9, 30);
2118 TEST_BIT("binsri.w", 128, w16, w11, 31);
2119 TEST_BIT("binsri.w", 136, w17, w31, 0);
2120 TEST_BIT("binsri.w", 144, w18, w2, 1);
2121 TEST_BIT("binsri.w", 152, w19, w25, 2);
2122 TEST_BIT("binsri.w", 160, w20, w9, 3);
2123 TEST_BIT("binsri.w", 168, w21, w31, 4);
2124 TEST_BIT("binsri.w", 176, w22, w26, 5);
2125 TEST_BIT("binsri.w", 184, w23, w14, 6);
2126 TEST_BIT("binsri.w", 192, w24, w16, 7);
2127 TEST_BIT("binsri.w", 200, w25, w12, 8);
2128 TEST_BIT("binsri.w", 208, w26, w3, 9);
2129 TEST_BIT("binsri.w", 216, w27, w15, 10);
2130 TEST_BIT("binsri.w", 224, w28, w24, 11);
2131 TEST_BIT("binsri.w", 232, w29, w19, 12);
2132 TEST_BIT("binsri.w", 240, w30, w31, 13);
2133 TEST_BIT("binsri.w", 120, w31, w16, 14);
2134 TEST_BIT("binsri.d", 0, w0, w16, 47);
2135 TEST_BIT("binsri.d", 8, w1, w1, 48);
2136 TEST_BIT("binsri.d", 16, w2, w21, 49);
2137 TEST_BIT("binsri.d", 24, w3, w31, 50);
2138 TEST_BIT("binsri.d", 32, w4, w5, 51);
2139 TEST_BIT("binsri.d", 40, w5, w29, 52);
2140 TEST_BIT("binsri.d", 48, w6, w24, 53);
2141 TEST_BIT("binsri.d", 56, w7, w30, 54);
2142 TEST_BIT("binsri.d", 64, w8, w30, 55);
2143 TEST_BIT("binsri.d", 72, w9, w11, 56);
2144 TEST_BIT("binsri.d", 80, w10, w23, 57);
2145 TEST_BIT("binsri.d", 88, w11, w20, 58);
2146 TEST_BIT("binsri.d", 96, w12, w12, 59);
2147 TEST_BIT("binsri.d", 104, w13, w16, 60);
2148 TEST_BIT("binsri.d", 112, w14, w7, 61);
2149 TEST_BIT("binsri.d", 120, w15, w16, 62);
2150 TEST_BIT("binsri.d", 128, w16, w25, 63);
2151 TEST_BIT("binsri.d", 136, w17, w28, 0);
2152 TEST_BIT("binsri.d", 144, w18, w30, 1);
2153 TEST_BIT("binsri.d", 152, w19, w30, 2);
2154 TEST_BIT("binsri.d", 160, w20, w22, 3);
2155 TEST_BIT("binsri.d", 168, w21, w31, 4);
2156 TEST_BIT("binsri.d", 176, w22, w26, 5);
2157 TEST_BIT("binsri.d", 184, w23, w13, 6);
2158 TEST_BIT("binsri.d", 192, w24, w16, 7);
2159 TEST_BIT("binsri.d", 200, w25, w22, 8);
2160 TEST_BIT("binsri.d", 208, w26, w25, 9);
2161 TEST_BIT("binsri.d", 216, w27, w16, 10);
2162 TEST_BIT("binsri.d", 224, w28, w4, 11);
2163 TEST_BIT("binsri.d", 232, w29, w13, 12);
2164 TEST_BIT("binsri.d", 240, w30, w8, 13);
2165 TEST_BIT("binsri.d", 216, w31, w15, 14);
2166 TEST_BIT("bnegi.b", 0, w0, w16, 4);
2167 TEST_BIT("bnegi.b", 8, w1, w6, 5);
2168 TEST_BIT("bnegi.b", 16, w2, w14, 6);
2169 TEST_BIT("bnegi.b", 24, w3, w31, 7);
2170 TEST_BIT("bnegi.b", 32, w4, w27, 0);
2171 TEST_BIT("bnegi.b", 40, w5, w14, 1);
2172 TEST_BIT("bnegi.b", 48, w6, w31, 2);
2173 TEST_BIT("bnegi.b", 56, w7, w19, 3);
2174 TEST_BIT("bnegi.b", 64, w8, w23, 4);
2175 TEST_BIT("bnegi.b", 72, w9, w20, 5);
2176 TEST_BIT("bnegi.b", 80, w10, w22, 6);
2177 TEST_BIT("bnegi.b", 88, w11, w11, 7);
2178 TEST_BIT("bnegi.b", 96, w12, w0, 0);
2179 TEST_BIT("bnegi.b", 104, w13, w25, 1);
2180 TEST_BIT("bnegi.b", 112, w14, w31, 2);
2181 TEST_BIT("bnegi.b", 120, w15, w27, 3);
2182 TEST_BIT("bnegi.b", 128, w16, w7, 4);
2183 TEST_BIT("bnegi.b", 136, w17, w20, 5);
2184 TEST_BIT("bnegi.b", 144, w18, w25, 6);
2185 TEST_BIT("bnegi.b", 152, w19, w7, 7);
2186 TEST_BIT("bnegi.b", 160, w20, w6, 0);
2187 TEST_BIT("bnegi.b", 168, w21, w12, 1);
2188 TEST_BIT("bnegi.b", 176, w22, w22, 2);
2189 TEST_BIT("bnegi.b", 184, w23, w12, 3);
2190 TEST_BIT("bnegi.b", 192, w24, w7, 4);
2191 TEST_BIT("bnegi.b", 200, w25, w18, 5);
2192 TEST_BIT("bnegi.b", 208, w26, w15, 6);
2193 TEST_BIT("bnegi.b", 216, w27, w19, 7);
2194 TEST_BIT("bnegi.b", 224, w28, w6, 0);
2195 TEST_BIT("bnegi.b", 232, w29, w31, 1);
2196 TEST_BIT("bnegi.b", 240, w30, w26, 2);
2197 TEST_BIT("bnegi.b", 144, w31, w6, 3);
2198 TEST_BIT("bnegi.h", 0, w0, w29, 12);
2199 TEST_BIT("bnegi.h", 8, w1, w31, 13);
2200 TEST_BIT("bnegi.h", 16, w2, w26, 14);
2201 TEST_BIT("bnegi.h", 24, w3, w29, 15);
2202 TEST_BIT("bnegi.h", 32, w4, w7, 0);
2203 TEST_BIT("bnegi.h", 40, w5, w17, 1);
2204 TEST_BIT("bnegi.h", 48, w6, w27, 2);
2205 TEST_BIT("bnegi.h", 56, w7, w14, 3);
2206 TEST_BIT("bnegi.h", 64, w8, w16, 4);
2207 TEST_BIT("bnegi.h", 72, w9, w22, 5);
2208 TEST_BIT("bnegi.h", 80, w10, w3, 6);
2209 TEST_BIT("bnegi.h", 88, w11, w11, 7);
2210 TEST_BIT("bnegi.h", 96, w12, w28, 8);
2211 TEST_BIT("bnegi.h", 104, w13, w12, 9);
2212 TEST_BIT("bnegi.h", 112, w14, w15, 10);
2213 TEST_BIT("bnegi.h", 120, w15, w19, 11);
2214 TEST_BIT("bnegi.h", 128, w16, w0, 12);
2215 TEST_BIT("bnegi.h", 136, w17, w18, 13);
2216 TEST_BIT("bnegi.h", 144, w18, w22, 14);
2217 TEST_BIT("bnegi.h", 152, w19, w13, 15);
2218 TEST_BIT("bnegi.h", 160, w20, w2, 0);
2219 TEST_BIT("bnegi.h", 168, w21, w24, 1);
2220 TEST_BIT("bnegi.h", 176, w22, w22, 2);
2221 TEST_BIT("bnegi.h", 184, w23, w11, 3);
2222 TEST_BIT("bnegi.h", 192, w24, w20, 4);
2223 TEST_BIT("bnegi.h", 200, w25, w10, 5);
2224 TEST_BIT("bnegi.h", 208, w26, w23, 6);
2225 TEST_BIT("bnegi.h", 216, w27, w8, 7);
2226 TEST_BIT("bnegi.h", 224, w28, w24, 8);
2227 TEST_BIT("bnegi.h", 232, w29, w31, 9);
2228 TEST_BIT("bnegi.h", 240, w30, w24, 10);
2229 TEST_BIT("bnegi.h", 200, w31, w28, 11);
2230 TEST_BIT("bnegi.w", 0, w0, w15, 12);
2231 TEST_BIT("bnegi.w", 8, w1, w0, 13);
2232 TEST_BIT("bnegi.w", 16, w2, w25, 14);
2233 TEST_BIT("bnegi.w", 24, w3, w8, 15);
2234 TEST_BIT("bnegi.w", 32, w4, w3, 16);
2235 TEST_BIT("bnegi.w", 40, w5, w9, 17);
2236 TEST_BIT("bnegi.w", 48, w6, w20, 18);
2237 TEST_BIT("bnegi.w", 56, w7, w13, 19);
2238 TEST_BIT("bnegi.w", 64, w8, w23, 20);
2239 TEST_BIT("bnegi.w", 72, w9, w16, 21);
2240 TEST_BIT("bnegi.w", 80, w10, w31, 22);
2241 TEST_BIT("bnegi.w", 88, w11, w11, 23);
2242 TEST_BIT("bnegi.w", 96, w12, w24, 24);
2243 TEST_BIT("bnegi.w", 104, w13, w11, 25);
2244 TEST_BIT("bnegi.w", 112, w14, w20, 26);
2245 TEST_BIT("bnegi.w", 120, w15, w28, 27);
2246 TEST_BIT("bnegi.w", 128, w16, w7, 28);
2247 TEST_BIT("bnegi.w", 136, w17, w25, 29);
2248 TEST_BIT("bnegi.w", 144, w18, w17, 30);
2249 TEST_BIT("bnegi.w", 152, w19, w25, 31);
2250 TEST_BIT("bnegi.w", 160, w20, w1, 0);
2251 TEST_BIT("bnegi.w", 168, w21, w19, 1);
2252 TEST_BIT("bnegi.w", 176, w22, w22, 2);
2253 TEST_BIT("bnegi.w", 184, w23, w2, 3);
2254 TEST_BIT("bnegi.w", 192, w24, w30, 4);
2255 TEST_BIT("bnegi.w", 200, w25, w8, 5);
2256 TEST_BIT("bnegi.w", 208, w26, w17, 6);
2257 TEST_BIT("bnegi.w", 216, w27, w21, 7);
2258 TEST_BIT("bnegi.w", 224, w28, w0, 8);
2259 TEST_BIT("bnegi.w", 232, w29, w1, 9);
2260 TEST_BIT("bnegi.w", 240, w30, w17, 10);
2261 TEST_BIT("bnegi.w", 0, w31, w5, 11);
2262 TEST_BIT("bnegi.d", 0, w0, w12, 44);
2263 TEST_BIT("bnegi.d", 8, w1, w25, 45);
2264 TEST_BIT("bnegi.d", 16, w2, w6, 46);
2265 TEST_BIT("bnegi.d", 24, w3, w5, 47);
2266 TEST_BIT("bnegi.d", 32, w4, w8, 48);
2267 TEST_BIT("bnegi.d", 40, w5, w26, 49);
2268 TEST_BIT("bnegi.d", 48, w6, w8, 50);
2269 TEST_BIT("bnegi.d", 56, w7, w9, 51);
2270 TEST_BIT("bnegi.d", 64, w8, w4, 52);
2271 TEST_BIT("bnegi.d", 72, w9, w3, 53);
2272 TEST_BIT("bnegi.d", 80, w10, w21, 54);
2273 TEST_BIT("bnegi.d", 88, w11, w11, 55);
2274 TEST_BIT("bnegi.d", 96, w12, w25, 56);
2275 TEST_BIT("bnegi.d", 104, w13, w7, 57);
2276 TEST_BIT("bnegi.d", 112, w14, w3, 58);
2277 TEST_BIT("bnegi.d", 120, w15, w31, 59);
2278 TEST_BIT("bnegi.d", 128, w16, w10, 60);
2279 TEST_BIT("bnegi.d", 136, w17, w24, 61);
2280 TEST_BIT("bnegi.d", 144, w18, w8, 62);
2281 TEST_BIT("bnegi.d", 152, w19, w26, 63);
2282 TEST_BIT("bnegi.d", 160, w20, w31, 0);
2283 TEST_BIT("bnegi.d", 168, w21, w1, 1);
2284 TEST_BIT("bnegi.d", 176, w22, w22, 2);
2285 TEST_BIT("bnegi.d", 184, w23, w9, 3);
2286 TEST_BIT("bnegi.d", 192, w24, w17, 4);
2287 TEST_BIT("bnegi.d", 200, w25, w26, 5);
2288 TEST_BIT("bnegi.d", 208, w26, w18, 6);
2289 TEST_BIT("bnegi.d", 216, w27, w10, 7);
2290 TEST_BIT("bnegi.d", 224, w28, w18, 8);
2291 TEST_BIT("bnegi.d", 232, w29, w25, 9);
2292 TEST_BIT("bnegi.d", 240, w30, w23, 10);
2293 TEST_BIT("bnegi.d", 112, w31, w7, 11);
2294 TEST_BIT("bseti.b", 0, w0, w9, 7);
2295 TEST_BIT("bseti.b", 8, w1, w18, 0);
2296 TEST_BIT("bseti.b", 16, w2, w17, 1);
2297 TEST_BIT("bseti.b", 24, w3, w7, 2);
2298 TEST_BIT("bseti.b", 32, w4, w1, 3);
2299 TEST_BIT("bseti.b", 40, w5, w9, 4);
2300 TEST_BIT("bseti.b", 48, w6, w27, 5);
2301 TEST_BIT("bseti.b", 56, w7, w11, 6);
2302 TEST_BIT("bseti.b", 64, w8, w7, 7);
2303 TEST_BIT("bseti.b", 72, w9, w23, 0);
2304 TEST_BIT("bseti.b", 80, w10, w18, 1);
2305 TEST_BIT("bseti.b", 88, w11, w25, 2);
2306 TEST_BIT("bseti.b", 96, w12, w13, 3);
2307 TEST_BIT("bseti.b", 104, w13, w7, 4);
2308 TEST_BIT("bseti.b", 112, w14, w10, 5);
2309 TEST_BIT("bseti.b", 120, w15, w18, 6);
2310 TEST_BIT("bseti.b", 128, w16, w12, 7);
2311 TEST_BIT("bseti.b", 136, w17, w12, 0);
2312 TEST_BIT("bseti.b", 144, w18, w23, 1);
2313 TEST_BIT("bseti.b", 152, w19, w25, 2);
2314 TEST_BIT("bseti.b", 160, w20, w25, 3);
2315 TEST_BIT("bseti.b", 168, w21, w16, 4);
2316 TEST_BIT("bseti.b", 176, w22, w13, 5);
2317 TEST_BIT("bseti.b", 184, w23, w31, 6);
2318 TEST_BIT("bseti.b", 192, w24, w24, 7);
2319 TEST_BIT("bseti.b", 200, w25, w19, 0);
2320 TEST_BIT("bseti.b", 208, w26, w10, 1);
2321 TEST_BIT("bseti.b", 216, w27, w27, 2);
2322 TEST_BIT("bseti.b", 224, w28, w24, 3);
2323 TEST_BIT("bseti.b", 232, w29, w8, 4);
2324 TEST_BIT("bseti.b", 240, w30, w27, 5);
2325 TEST_BIT("bseti.b", 168, w31, w15, 6);
2326 TEST_BIT("bseti.h", 0, w0, w9, 15);
2327 TEST_BIT("bseti.h", 8, w1, w6, 0);
2328 TEST_BIT("bseti.h", 16, w2, w7, 1);
2329 TEST_BIT("bseti.h", 24, w3, w12, 2);
2330 TEST_BIT("bseti.h", 32, w4, w24, 3);
2331 TEST_BIT("bseti.h", 40, w5, w19, 4);
2332 TEST_BIT("bseti.h", 48, w6, w26, 5);
2333 TEST_BIT("bseti.h", 56, w7, w20, 6);
2334 TEST_BIT("bseti.h", 64, w8, w19, 7);
2335 TEST_BIT("bseti.h", 72, w9, w29, 8);
2336 TEST_BIT("bseti.h", 80, w10, w5, 9);
2337 TEST_BIT("bseti.h", 88, w11, w10, 10);
2338 TEST_BIT("bseti.h", 96, w12, w29, 11);
2339 TEST_BIT("bseti.h", 104, w13, w15, 12);
2340 TEST_BIT("bseti.h", 112, w14, w9, 13);
2341 TEST_BIT("bseti.h", 120, w15, w21, 14);
2342 TEST_BIT("bseti.h", 128, w16, w0, 15);
2343 TEST_BIT("bseti.h", 136, w17, w6, 0);
2344 TEST_BIT("bseti.h", 144, w18, w22, 1);
2345 TEST_BIT("bseti.h", 152, w19, w7, 2);
2346 TEST_BIT("bseti.h", 160, w20, w28, 3);
2347 TEST_BIT("bseti.h", 168, w21, w19, 4);
2348 TEST_BIT("bseti.h", 176, w22, w26, 5);
2349 TEST_BIT("bseti.h", 184, w23, w15, 6);
2350 TEST_BIT("bseti.h", 192, w24, w24, 7);
2351 TEST_BIT("bseti.h", 200, w25, w16, 8);
2352 TEST_BIT("bseti.h", 208, w26, w11, 9);
2353 TEST_BIT("bseti.h", 216, w27, w27, 10);
2354 TEST_BIT("bseti.h", 224, w28, w1, 11);
2355 TEST_BIT("bseti.h", 232, w29, w24, 12);
2356 TEST_BIT("bseti.h", 240, w30, w28, 13);
2357 TEST_BIT("bseti.h", 96, w31, w10, 14);
2358 TEST_BIT("bseti.w", 0, w0, w31, 31);
2359 TEST_BIT("bseti.w", 8, w1, w2, 0);
2360 TEST_BIT("bseti.w", 16, w2, w10, 1);
2361 TEST_BIT("bseti.w", 24, w3, w31, 2);
2362 TEST_BIT("bseti.w", 32, w4, w31, 3);
2363 TEST_BIT("bseti.w", 40, w5, w11, 4);
2364 TEST_BIT("bseti.w", 48, w6, w17, 5);
2365 TEST_BIT("bseti.w", 56, w7, w27, 6);
2366 TEST_BIT("bseti.w", 64, w8, w19, 7);
2367 TEST_BIT("bseti.w", 72, w9, w6, 8);
2368 TEST_BIT("bseti.w", 80, w10, w23, 9);
2369 TEST_BIT("bseti.w", 88, w11, w0, 10);
2370 TEST_BIT("bseti.w", 96, w12, w9, 11);
2371 TEST_BIT("bseti.w", 104, w13, w11, 12);
2372 TEST_BIT("bseti.w", 112, w14, w8, 13);
2373 TEST_BIT("bseti.w", 120, w15, w17, 14);
2374 TEST_BIT("bseti.w", 128, w16, w20, 15);
2375 TEST_BIT("bseti.w", 136, w17, w16, 16);
2376 TEST_BIT("bseti.w", 144, w18, w30, 17);
2377 TEST_BIT("bseti.w", 152, w19, w8, 18);
2378 TEST_BIT("bseti.w", 160, w20, w15, 19);
2379 TEST_BIT("bseti.w", 168, w21, w11, 20);
2380 TEST_BIT("bseti.w", 176, w22, w26, 21);
2381 TEST_BIT("bseti.w", 184, w23, w0, 22);
2382 TEST_BIT("bseti.w", 192, w24, w24, 23);
2383 TEST_BIT("bseti.w", 200, w25, w29, 24);
2384 TEST_BIT("bseti.w", 208, w26, w0, 25);
2385 TEST_BIT("bseti.w", 216, w27, w27, 26);
2386 TEST_BIT("bseti.w", 224, w28, w24, 27);
2387 TEST_BIT("bseti.w", 232, w29, w18, 28);
2388 TEST_BIT("bseti.w", 240, w30, w16, 29);
2389 TEST_BIT("bseti.w", 192, w31, w14, 30);
2390 TEST_BIT("bseti.d", 0, w0, w31, 63);
2391 TEST_BIT("bseti.d", 8, w1, w19, 0);
2392 TEST_BIT("bseti.d", 16, w2, w21, 1);
2393 TEST_BIT("bseti.d", 24, w3, w31, 2);
2394 TEST_BIT("bseti.d", 32, w4, w2, 3);
2395 TEST_BIT("bseti.d", 40, w5, w31, 4);
2396 TEST_BIT("bseti.d", 48, w6, w31, 5);
2397 TEST_BIT("bseti.d", 56, w7, w4, 6);
2398 TEST_BIT("bseti.d", 64, w8, w19, 7);
2399 TEST_BIT("bseti.d", 72, w9, w11, 8);
2400 TEST_BIT("bseti.d", 80, w10, w23, 9);
2401 TEST_BIT("bseti.d", 88, w11, w27, 10);
2402 TEST_BIT("bseti.d", 96, w12, w3, 11);
2403 TEST_BIT("bseti.d", 104, w13, w0, 12);
2404 TEST_BIT("bseti.d", 112, w14, w8, 13);
2405 TEST_BIT("bseti.d", 120, w15, w27, 14);
2406 TEST_BIT("bseti.d", 128, w16, w22, 15);
2407 TEST_BIT("bseti.d", 136, w17, w21, 16);
2408 TEST_BIT("bseti.d", 144, w18, w25, 17);
2409 TEST_BIT("bseti.d", 152, w19, w24, 18);
2410 TEST_BIT("bseti.d", 160, w20, w22, 19);
2411 TEST_BIT("bseti.d", 168, w21, w19, 20);
2412 TEST_BIT("bseti.d", 176, w22, w3, 21);
2413 TEST_BIT("bseti.d", 184, w23, w27, 22);
2414 TEST_BIT("bseti.d", 192, w24, w24, 23);
2415 TEST_BIT("bseti.d", 200, w25, w10, 24);
2416 TEST_BIT("bseti.d", 208, w26, w8, 25);
2417 TEST_BIT("bseti.d", 216, w27, w27, 26);
2418 TEST_BIT("bseti.d", 224, w28, w3, 27);
2419 TEST_BIT("bseti.d", 232, w29, w27, 28);
2420 TEST_BIT("bseti.d", 240, w30, w10, 29);
2421 TEST_BIT("bseti.d", 232, w31, w20, 30);
2422 TEST_BIT("slli.b", 0, w0, w1, 0);
2423 TEST_BIT("slli.b", 8, w1, w21, 1);
2424 TEST_BIT("slli.b", 16, w2, w8, 2);
2425 TEST_BIT("slli.b", 24, w3, w13, 3);
2426 TEST_BIT("slli.b", 32, w4, w14, 4);
2427 TEST_BIT("slli.b", 40, w5, w0, 5);
2428 TEST_BIT("slli.b", 48, w6, w26, 6);
2429 TEST_BIT("slli.b", 56, w7, w24, 7);
2430 TEST_BIT("slli.b", 64, w8, w4, 0);
2431 TEST_BIT("slli.b", 72, w9, w19, 1);
2432 TEST_BIT("slli.b", 80, w10, w14, 2);
2433 TEST_BIT("slli.b", 88, w11, w25, 3);
2434 TEST_BIT("slli.b", 96, w12, w12, 4);
2435 TEST_BIT("slli.b", 104, w13, w19, 5);
2436 TEST_BIT("slli.b", 112, w14, w16, 6);
2437 TEST_BIT("slli.b", 120, w15, w27, 7);
2438 TEST_BIT("slli.b", 128, w16, w5, 0);
2439 TEST_BIT("slli.b", 136, w17, w24, 1);
2440 TEST_BIT("slli.b", 144, w18, w31, 2);
2441 TEST_BIT("slli.b", 152, w19, w28, 3);
2442 TEST_BIT("slli.b", 160, w20, w30, 4);
2443 TEST_BIT("slli.b", 168, w21, w3, 5);
2444 TEST_BIT("slli.b", 176, w22, w20, 6);
2445 TEST_BIT("slli.b", 184, w23, w28, 7);
2446 TEST_BIT("slli.b", 192, w24, w1, 0);
2447 TEST_BIT("slli.b", 200, w25, w26, 1);
2448 TEST_BIT("slli.b", 208, w26, w26, 2);
2449 TEST_BIT("slli.b", 216, w27, w3, 3);
2450 TEST_BIT("slli.b", 224, w28, w4, 4);
2451 TEST_BIT("slli.b", 232, w29, w3, 5);
2452 TEST_BIT("slli.b", 240, w30, w18, 6);
2453 TEST_BIT("slli.b", 216, w31, w4, 7);
2454 TEST_BIT("slli.h", 0, w0, w9, 0);
2455 TEST_BIT("slli.h", 8, w1, w8, 1);
2456 TEST_BIT("slli.h", 16, w2, w10, 2);
2457 TEST_BIT("slli.h", 24, w3, w8, 3);
2458 TEST_BIT("slli.h", 32, w4, w12, 4);
2459 TEST_BIT("slli.h", 40, w5, w27, 5);
2460 TEST_BIT("slli.h", 48, w6, w25, 6);
2461 TEST_BIT("slli.h", 56, w7, w24, 7);
2462 TEST_BIT("slli.h", 64, w8, w1, 8);
2463 TEST_BIT("slli.h", 72, w9, w25, 9);
2464 TEST_BIT("slli.h", 80, w10, w27, 10);
2465 TEST_BIT("slli.h", 88, w11, w14, 11);
2466 TEST_BIT("slli.h", 96, w12, w12, 12);
2467 TEST_BIT("slli.h", 104, w13, w4, 13);
2468 TEST_BIT("slli.h", 112, w14, w13, 14);
2469 TEST_BIT("slli.h", 120, w15, w7, 15);
2470 TEST_BIT("slli.h", 128, w16, w5, 0);
2471 TEST_BIT("slli.h", 136, w17, w26, 1);
2472 TEST_BIT("slli.h", 144, w18, w30, 2);
2473 TEST_BIT("slli.h", 152, w19, w26, 3);
2474 TEST_BIT("slli.h", 160, w20, w15, 4);
2475 TEST_BIT("slli.h", 168, w21, w24, 5);
2476 TEST_BIT("slli.h", 176, w22, w14, 6);
2477 TEST_BIT("slli.h", 184, w23, w13, 7);
2478 TEST_BIT("slli.h", 192, w24, w28, 8);
2479 TEST_BIT("slli.h", 200, w25, w31, 9);
2480 TEST_BIT("slli.h", 208, w26, w26, 10);
2481 TEST_BIT("slli.h", 216, w27, w10, 11);
2482 TEST_BIT("slli.h", 224, w28, w21, 12);
2483 TEST_BIT("slli.h", 232, w29, w13, 13);
2484 TEST_BIT("slli.h", 240, w30, w22, 14);
2485 TEST_BIT("slli.h", 72, w31, w16, 15);
2486 TEST_BIT("slli.w", 0, w0, w21, 16);
2487 TEST_BIT("slli.w", 8, w1, w6, 17);
2488 TEST_BIT("slli.w", 16, w2, w18, 18);
2489 TEST_BIT("slli.w", 24, w3, w31, 19);
2490 TEST_BIT("slli.w", 32, w4, w18, 20);
2491 TEST_BIT("slli.w", 40, w5, w16, 21);
2492 TEST_BIT("slli.w", 48, w6, w20, 22);
2493 TEST_BIT("slli.w", 56, w7, w29, 23);
2494 TEST_BIT("slli.w", 64, w8, w16, 24);
2495 TEST_BIT("slli.w", 72, w9, w12, 25);
2496 TEST_BIT("slli.w", 80, w10, w23, 26);
2497 TEST_BIT("slli.w", 88, w11, w25, 27);
2498 TEST_BIT("slli.w", 96, w12, w12, 28);
2499 TEST_BIT("slli.w", 104, w13, w6, 29);
2500 TEST_BIT("slli.w", 112, w14, w1, 30);
2501 TEST_BIT("slli.w", 120, w15, w24, 31);
2502 TEST_BIT("slli.w", 128, w16, w11, 0);
2503 TEST_BIT("slli.w", 136, w17, w19, 1);
2504 TEST_BIT("slli.w", 144, w18, w31, 2);
2505 TEST_BIT("slli.w", 152, w19, w15, 3);
2506 TEST_BIT("slli.w", 160, w20, w28, 4);
2507 TEST_BIT("slli.w", 168, w21, w12, 5);
2508 TEST_BIT("slli.w", 176, w22, w9, 6);
2509 TEST_BIT("slli.w", 184, w23, w7, 7);
2510 TEST_BIT("slli.w", 192, w24, w22, 8);
2511 TEST_BIT("slli.w", 200, w25, w17, 9);
2512 TEST_BIT("slli.w", 208, w26, w26, 10);
2513 TEST_BIT("slli.w", 216, w27, w6, 11);
2514 TEST_BIT("slli.w", 224, w28, w16, 12);
2515 TEST_BIT("slli.w", 232, w29, w4, 13);
2516 TEST_BIT("slli.w", 240, w30, w14, 14);
2517 TEST_BIT("slli.w", 32, w31, w4, 15);
2518 TEST_BIT("slli.d", 0, w0, w16, 48);
2519 TEST_BIT("slli.d", 8, w1, w21, 49);
2520 TEST_BIT("slli.d", 16, w2, w15, 50);
2521 TEST_BIT("slli.d", 24, w3, w13, 51);
2522 TEST_BIT("slli.d", 32, w4, w6, 52);
2523 TEST_BIT("slli.d", 40, w5, w24, 53);
2524 TEST_BIT("slli.d", 48, w6, w12, 54);
2525 TEST_BIT("slli.d", 56, w7, w2, 55);
2526 TEST_BIT("slli.d", 64, w8, w6, 56);
2527 TEST_BIT("slli.d", 72, w9, w24, 57);
2528 TEST_BIT("slli.d", 80, w10, w24, 58);
2529 TEST_BIT("slli.d", 88, w11, w2, 59);
2530 TEST_BIT("slli.d", 96, w12, w12, 60);
2531 TEST_BIT("slli.d", 104, w13, w15, 61);
2532 TEST_BIT("slli.d", 112, w14, w0, 62);
2533 TEST_BIT("slli.d", 120, w15, w20, 63);
2534 TEST_BIT("slli.d", 128, w16, w24, 0);
2535 TEST_BIT("slli.d", 136, w17, w20, 1);
2536 TEST_BIT("slli.d", 144, w18, w14, 2);
2537 TEST_BIT("slli.d", 152, w19, w22, 3);
2538 TEST_BIT("slli.d", 160, w20, w17, 4);
2539 TEST_BIT("slli.d", 168, w21, w24, 5);
2540 TEST_BIT("slli.d", 176, w22, w25, 6);
2541 TEST_BIT("slli.d", 184, w23, w1, 7);
2542 TEST_BIT("slli.d", 192, w24, w15, 8);
2543 TEST_BIT("slli.d", 200, w25, w19, 9);
2544 TEST_BIT("slli.d", 208, w26, w26, 10);
2545 TEST_BIT("slli.d", 216, w27, w31, 11);
2546 TEST_BIT("slli.d", 224, w28, w13, 12);
2547 TEST_BIT("slli.d", 232, w29, w12, 13);
2548 TEST_BIT("slli.d", 240, w30, w12, 14);
2549 TEST_BIT("slli.d", 128, w31, w3, 15);
2550 TEST_BIT("srai.b", 0, w0, w16, 4);
2551 TEST_BIT("srai.b", 8, w1, w26, 5);
2552 TEST_BIT("srai.b", 16, w2, w21, 6);
2553 TEST_BIT("srai.b", 24, w3, w11, 7);
2554 TEST_BIT("srai.b", 32, w4, w4, 0);
2555 TEST_BIT("srai.b", 40, w5, w15, 1);
2556 TEST_BIT("srai.b", 48, w6, w4, 2);
2557 TEST_BIT("srai.b", 56, w7, w26, 3);
2558 TEST_BIT("srai.b", 64, w8, w22, 4);
2559 TEST_BIT("srai.b", 72, w9, w17, 5);
2560 TEST_BIT("srai.b", 80, w10, w12, 6);
2561 TEST_BIT("srai.b", 88, w11, w29, 7);
2562 TEST_BIT("srai.b", 96, w12, w27, 0);
2563 TEST_BIT("srai.b", 104, w13, w20, 1);
2564 TEST_BIT("srai.b", 112, w14, w25, 2);
2565 TEST_BIT("srai.b", 120, w15, w27, 3);
2566 TEST_BIT("srai.b", 128, w16, w1, 4);
2567 TEST_BIT("srai.b", 136, w17, w6, 5);
2568 TEST_BIT("srai.b", 144, w18, w0, 6);
2569 TEST_BIT("srai.b", 152, w19, w24, 7);
2570 TEST_BIT("srai.b", 160, w20, w14, 0);
2571 TEST_BIT("srai.b", 168, w21, w20, 1);
2572 TEST_BIT("srai.b", 176, w22, w21, 2);
2573 TEST_BIT("srai.b", 184, w23, w2, 3);
2574 TEST_BIT("srai.b", 192, w24, w0, 4);
2575 TEST_BIT("srai.b", 200, w25, w24, 5);
2576 TEST_BIT("srai.b", 208, w26, w26, 6);
2577 TEST_BIT("srai.b", 216, w27, w19, 7);
2578 TEST_BIT("srai.b", 224, w28, w13, 0);
2579 TEST_BIT("srai.b", 232, w29, w0, 1);
2580 TEST_BIT("srai.b", 240, w30, w14, 2);
2581 TEST_BIT("srai.b", 120, w31, w20, 3);
2582 TEST_BIT("srai.h", 0, w0, w23, 12);
2583 TEST_BIT("srai.h", 8, w1, w11, 13);
2584 TEST_BIT("srai.h", 16, w2, w20, 14);
2585 TEST_BIT("srai.h", 24, w3, w29, 15);
2586 TEST_BIT("srai.h", 32, w4, w4, 0);
2587 TEST_BIT("srai.h", 40, w5, w13, 1);
2588 TEST_BIT("srai.h", 48, w6, w8, 2);
2589 TEST_BIT("srai.h", 56, w7, w18, 3);
2590 TEST_BIT("srai.h", 64, w8, w28, 4);
2591 TEST_BIT("srai.h", 72, w9, w17, 5);
2592 TEST_BIT("srai.h", 80, w10, w25, 6);
2593 TEST_BIT("srai.h", 88, w11, w10, 7);
2594 TEST_BIT("srai.h", 96, w12, w0, 8);
2595 TEST_BIT("srai.h", 104, w13, w18, 9);
2596 TEST_BIT("srai.h", 112, w14, w12, 10);
2597 TEST_BIT("srai.h", 120, w15, w31, 11);
2598 TEST_BIT("srai.h", 128, w16, w20, 12);
2599 TEST_BIT("srai.h", 136, w17, w11, 13);
2600 TEST_BIT("srai.h", 144, w18, w22, 14);
2601 TEST_BIT("srai.h", 152, w19, w30, 15);
2602 TEST_BIT("srai.h", 160, w20, w24, 0);
2603 TEST_BIT("srai.h", 168, w21, w28, 1);
2604 TEST_BIT("srai.h", 176, w22, w26, 2);
2605 TEST_BIT("srai.h", 184, w23, w26, 3);
2606 TEST_BIT("srai.h", 192, w24, w20, 4);
2607 TEST_BIT("srai.h", 200, w25, w27, 5);
2608 TEST_BIT("srai.h", 208, w26, w26, 6);
2609 TEST_BIT("srai.h", 216, w27, w14, 7);
2610 TEST_BIT("srai.h", 224, w28, w13, 8);
2611 TEST_BIT("srai.h", 232, w29, w25, 9);
2612 TEST_BIT("srai.h", 240, w30, w15, 10);
2613 TEST_BIT("srai.h", 96, w31, w2, 11);
2614 TEST_BIT("srai.w", 0, w0, w14, 28);
2615 TEST_BIT("srai.w", 8, w1, w29, 29);
2616 TEST_BIT("srai.w", 16, w2, w28, 30);
2617 TEST_BIT("srai.w", 24, w3, w1, 31);
2618 TEST_BIT("srai.w", 32, w4, w4, 0);
2619 TEST_BIT("srai.w", 40, w5, w9, 1);
2620 TEST_BIT("srai.w", 48, w6, w7, 2);
2621 TEST_BIT("srai.w", 56, w7, w4, 3);
2622 TEST_BIT("srai.w", 64, w8, w22, 4);
2623 TEST_BIT("srai.w", 72, w9, w16, 5);
2624 TEST_BIT("srai.w", 80, w10, w4, 6);
2625 TEST_BIT("srai.w", 88, w11, w5, 7);
2626 TEST_BIT("srai.w", 96, w12, w18, 8);
2627 TEST_BIT("srai.w", 104, w13, w2, 9);
2628 TEST_BIT("srai.w", 112, w14, w7, 10);
2629 TEST_BIT("srai.w", 120, w15, w8, 11);
2630 TEST_BIT("srai.w", 128, w16, w4, 12);
2631 TEST_BIT("srai.w", 136, w17, w2, 13);
2632 TEST_BIT("srai.w", 144, w18, w1, 14);
2633 TEST_BIT("srai.w", 152, w19, w26, 15);
2634 TEST_BIT("srai.w", 160, w20, w11, 16);
2635 TEST_BIT("srai.w", 168, w21, w12, 17);
2636 TEST_BIT("srai.w", 176, w22, w4, 18);
2637 TEST_BIT("srai.w", 184, w23, w9, 19);
2638 TEST_BIT("srai.w", 192, w24, w1, 20);
2639 TEST_BIT("srai.w", 200, w25, w30, 21);
2640 TEST_BIT("srai.w", 208, w26, w26, 22);
2641 TEST_BIT("srai.w", 216, w27, w17, 23);
2642 TEST_BIT("srai.w", 224, w28, w31, 24);
2643 TEST_BIT("srai.w", 232, w29, w5, 25);
2644 TEST_BIT("srai.w", 240, w30, w4, 26);
2645 TEST_BIT("srai.w", 24, w31, w17, 27);
2646 TEST_BIT("srai.d", 0, w0, w9, 28);
2647 TEST_BIT("srai.d", 8, w1, w11, 29);
2648 TEST_BIT("srai.d", 16, w2, w8, 30);
2649 TEST_BIT("srai.d", 24, w3, w12, 31);
2650 TEST_BIT("srai.d", 32, w4, w4, 32);
2651 TEST_BIT("srai.d", 40, w5, w8, 33);
2652 TEST_BIT("srai.d", 48, w6, w7, 34);
2653 TEST_BIT("srai.d", 56, w7, w10, 35);
2654 TEST_BIT("srai.d", 64, w8, w7, 36);
2655 TEST_BIT("srai.d", 72, w9, w11, 37);
2656 TEST_BIT("srai.d", 80, w10, w5, 38);
2657 TEST_BIT("srai.d", 88, w11, w17, 39);
2658 TEST_BIT("srai.d", 96, w12, w22, 40);
2659 TEST_BIT("srai.d", 104, w13, w15, 41);
2660 TEST_BIT("srai.d", 112, w14, w15, 42);
2661 TEST_BIT("srai.d", 120, w15, w13, 43);
2662 TEST_BIT("srai.d", 128, w16, w7, 44);
2663 TEST_BIT("srai.d", 136, w17, w26, 45);
2664 TEST_BIT("srai.d", 144, w18, w0, 46);
2665 TEST_BIT("srai.d", 152, w19, w26, 47);
2666 TEST_BIT("srai.d", 160, w20, w10, 48);
2667 TEST_BIT("srai.d", 168, w21, w29, 49);
2668 TEST_BIT("srai.d", 176, w22, w0, 50);
2669 TEST_BIT("srai.d", 184, w23, w31, 51);
2670 TEST_BIT("srai.d", 192, w24, w20, 52);
2671 TEST_BIT("srai.d", 200, w25, w21, 53);
2672 TEST_BIT("srai.d", 208, w26, w26, 54);
2673 TEST_BIT("srai.d", 216, w27, w6, 55);
2674 TEST_BIT("srai.d", 224, w28, w2, 56);
2675 TEST_BIT("srai.d", 232, w29, w11, 57);
2676 TEST_BIT("srai.d", 240, w30, w20, 58);
2677 TEST_BIT("srai.d", 40, w31, w29, 59);
2678 TEST_BIT("srari.b", 0, w0, w24, 0);
2679 TEST_BIT("srari.b", 8, w1, w13, 1);
2680 TEST_BIT("srari.b", 16, w2, w26, 2);
2681 TEST_BIT("srari.b", 24, w3, w25, 3);
2682 TEST_BIT("srari.b", 32, w4, w13, 4);
2683 TEST_BIT("srari.b", 40, w5, w12, 5);
2684 TEST_BIT("srari.b", 48, w6, w11, 6);
2685 TEST_BIT("srari.b", 56, w7, w19, 7);
2686 TEST_BIT("srari.b", 64, w8, w13, 0);
2687 TEST_BIT("srari.b", 72, w9, w23, 1);
2688 TEST_BIT("srari.b", 80, w10, w4, 2);
2689 TEST_BIT("srari.b", 88, w11, w17, 3);
2690 TEST_BIT("srari.b", 96, w12, w12, 4);
2691 TEST_BIT("srari.b", 104, w13, w6, 5);
2692 TEST_BIT("srari.b", 112, w14, w26, 6);
2693 TEST_BIT("srari.b", 120, w15, w15, 7);
2694 TEST_BIT("srari.b", 128, w16, w23, 0);
2695 TEST_BIT("srari.b", 136, w17, w8, 1);
2696 TEST_BIT("srari.b", 144, w18, w6, 2);
2697 TEST_BIT("srari.b", 152, w19, w26, 3);
2698 TEST_BIT("srari.b", 160, w20, w23, 4);
2699 TEST_BIT("srari.b", 168, w21, w11, 5);
2700 TEST_BIT("srari.b", 176, w22, w19, 6);
2701 TEST_BIT("srari.b", 184, w23, w16, 7);
2702 TEST_BIT("srari.b", 192, w24, w11, 0);
2703 TEST_BIT("srari.b", 200, w25, w11, 1);
2704 TEST_BIT("srari.b", 208, w26, w1, 2);
2705 TEST_BIT("srari.b", 216, w27, w19, 3);
2706 TEST_BIT("srari.b", 224, w28, w21, 4);
2707 TEST_BIT("srari.b", 232, w29, w21, 5);
2708 TEST_BIT("srari.b", 240, w30, w15, 6);
2709 TEST_BIT("srari.b", 232, w31, w5, 7);
2710 TEST_BIT("srari.h", 0, w0, w14, 8);
2711 TEST_BIT("srari.h", 8, w1, w4, 9);
2712 TEST_BIT("srari.h", 16, w2, w0, 10);
2713 TEST_BIT("srari.h", 24, w3, w20, 11);
2714 TEST_BIT("srari.h", 32, w4, w8, 12);
2715 TEST_BIT("srari.h", 40, w5, w28, 13);
2716 TEST_BIT("srari.h", 48, w6, w5, 14);
2717 TEST_BIT("srari.h", 56, w7, w3, 15);
2718 TEST_BIT("srari.h", 64, w8, w22, 0);
2719 TEST_BIT("srari.h", 72, w9, w19, 1);
2720 TEST_BIT("srari.h", 80, w10, w8, 2);
2721 TEST_BIT("srari.h", 88, w11, w2, 3);
2722 TEST_BIT("srari.h", 96, w12, w12, 4);
2723 TEST_BIT("srari.h", 104, w13, w14, 5);
2724 TEST_BIT("srari.h", 112, w14, w3, 6);
2725 TEST_BIT("srari.h", 120, w15, w15, 7);
2726 TEST_BIT("srari.h", 128, w16, w17, 8);
2727 TEST_BIT("srari.h", 136, w17, w10, 9);
2728 TEST_BIT("srari.h", 144, w18, w28, 10);
2729 TEST_BIT("srari.h", 152, w19, w1, 11);
2730 TEST_BIT("srari.h", 160, w20, w6, 12);
2731 TEST_BIT("srari.h", 168, w21, w23, 13);
2732 TEST_BIT("srari.h", 176, w22, w2, 14);
2733 TEST_BIT("srari.h", 184, w23, w9, 15);
2734 TEST_BIT("srari.h", 192, w24, w12, 0);
2735 TEST_BIT("srari.h", 200, w25, w9, 1);
2736 TEST_BIT("srari.h", 208, w26, w9, 2);
2737 TEST_BIT("srari.h", 216, w27, w8, 3);
2738 TEST_BIT("srari.h", 224, w28, w6, 4);
2739 TEST_BIT("srari.h", 232, w29, w3, 5);
2740 TEST_BIT("srari.h", 240, w30, w10, 6);
2741 TEST_BIT("srari.h", 216, w31, w9, 7);
2742 TEST_BIT("srari.w", 0, w0, w19, 24);
2743 TEST_BIT("srari.w", 8, w1, w4, 25);
2744 TEST_BIT("srari.w", 16, w2, w26, 26);
2745 TEST_BIT("srari.w", 24, w3, w28, 27);
2746 TEST_BIT("srari.w", 32, w4, w30, 28);
2747 TEST_BIT("srari.w", 40, w5, w9, 29);
2748 TEST_BIT("srari.w", 48, w6, w11, 30);
2749 TEST_BIT("srari.w", 56, w7, w21, 31);
2750 TEST_BIT("srari.w", 64, w8, w14, 0);
2751 TEST_BIT("srari.w", 72, w9, w24, 1);
2752 TEST_BIT("srari.w", 80, w10, w4, 2);
2753 TEST_BIT("srari.w", 88, w11, w14, 3);
2754 TEST_BIT("srari.w", 96, w12, w12, 4);
2755 TEST_BIT("srari.w", 104, w13, w23, 5);
2756 TEST_BIT("srari.w", 112, w14, w3, 6);
2757 TEST_BIT("srari.w", 120, w15, w15, 7);
2758 TEST_BIT("srari.w", 128, w16, w7, 8);
2759 TEST_BIT("srari.w", 136, w17, w29, 9);
2760 TEST_BIT("srari.w", 144, w18, w27, 10);
2761 TEST_BIT("srari.w", 152, w19, w9, 11);
2762 TEST_BIT("srari.w", 160, w20, w6, 12);
2763 TEST_BIT("srari.w", 168, w21, w2, 13);
2764 TEST_BIT("srari.w", 176, w22, w7, 14);
2765 TEST_BIT("srari.w", 184, w23, w7, 15);
2766 TEST_BIT("srari.w", 192, w24, w26, 16);
2767 TEST_BIT("srari.w", 200, w25, w27, 17);
2768 TEST_BIT("srari.w", 208, w26, w0, 18);
2769 TEST_BIT("srari.w", 216, w27, w1, 19);
2770 TEST_BIT("srari.w", 224, w28, w14, 20);
2771 TEST_BIT("srari.w", 232, w29, w24, 21);
2772 TEST_BIT("srari.w", 240, w30, w31, 22);
2773 TEST_BIT("srari.w", 104, w31, w27, 23);
2774 TEST_BIT("srari.d", 0, w0, w24, 56);
2775 TEST_BIT("srari.d", 8, w1, w10, 57);
2776 TEST_BIT("srari.d", 16, w2, w12, 58);
2777 TEST_BIT("srari.d", 24, w3, w31, 59);
2778 TEST_BIT("srari.d", 32, w4, w6, 60);
2779 TEST_BIT("srari.d", 40, w5, w6, 61);
2780 TEST_BIT("srari.d", 48, w6, w24, 62);
2781 TEST_BIT("srari.d", 56, w7, w3, 63);
2782 TEST_BIT("srari.d", 64, w8, w13, 0);
2783 TEST_BIT("srari.d", 72, w9, w28, 1);
2784 TEST_BIT("srari.d", 80, w10, w29, 2);
2785 TEST_BIT("srari.d", 88, w11, w26, 3);
2786 TEST_BIT("srari.d", 96, w12, w12, 4);
2787 TEST_BIT("srari.d", 104, w13, w3, 5);
2788 TEST_BIT("srari.d", 112, w14, w15, 6);
2789 TEST_BIT("srari.d", 120, w15, w15, 7);
2790 TEST_BIT("srari.d", 128, w16, w30, 8);
2791 TEST_BIT("srari.d", 136, w17, w4, 9);
2792 TEST_BIT("srari.d", 144, w18, w15, 10);
2793 TEST_BIT("srari.d", 152, w19, w12, 11);
2794 TEST_BIT("srari.d", 160, w20, w15, 12);
2795 TEST_BIT("srari.d", 168, w21, w31, 13);
2796 TEST_BIT("srari.d", 176, w22, w23, 14);
2797 TEST_BIT("srari.d", 184, w23, w11, 15);
2798 TEST_BIT("srari.d", 192, w24, w22, 16);
2799 TEST_BIT("srari.d", 200, w25, w18, 17);
2800 TEST_BIT("srari.d", 208, w26, w4, 18);
2801 TEST_BIT("srari.d", 216, w27, w31, 19);
2802 TEST_BIT("srari.d", 224, w28, w14, 20);
2803 TEST_BIT("srari.d", 232, w29, w24, 21);
2804 TEST_BIT("srari.d", 240, w30, w29, 22);
2805 TEST_BIT("srari.d", 64, w31, w24, 23);
2806 TEST_BIT("srli.b", 0, w0, w20, 4);
2807 TEST_BIT("srli.b", 8, w1, w19, 5);
2808 TEST_BIT("srli.b", 16, w2, w3, 6);
2809 TEST_BIT("srli.b", 24, w3, w3, 7);
2810 TEST_BIT("srli.b", 32, w4, w9, 0);
2811 TEST_BIT("srli.b", 40, w5, w15, 1);
2812 TEST_BIT("srli.b", 48, w6, w6, 2);
2813 TEST_BIT("srli.b", 56, w7, w1, 3);
2814 TEST_BIT("srli.b", 64, w8, w25, 4);
2815 TEST_BIT("srli.b", 72, w9, w17, 5);
2816 TEST_BIT("srli.b", 80, w10, w28, 6);
2817 TEST_BIT("srli.b", 88, w11, w16, 7);
2818 TEST_BIT("srli.b", 96, w12, w21, 0);
2819 TEST_BIT("srli.b", 104, w13, w21, 1);
2820 TEST_BIT("srli.b", 112, w14, w12, 2);
2821 TEST_BIT("srli.b", 120, w15, w25, 3);
2822 TEST_BIT("srli.b", 128, w16, w19, 4);
2823 TEST_BIT("srli.b", 136, w17, w8, 5);
2824 TEST_BIT("srli.b", 144, w18, w14, 6);
2825 TEST_BIT("srli.b", 152, w19, w27, 7);
2826 TEST_BIT("srli.b", 160, w20, w13, 0);
2827 TEST_BIT("srli.b", 168, w21, w8, 1);
2828 TEST_BIT("srli.b", 176, w22, w20, 2);
2829 TEST_BIT("srli.b", 184, w23, w16, 3);
2830 TEST_BIT("srli.b", 192, w24, w25, 4);
2831 TEST_BIT("srli.b", 200, w25, w4, 5);
2832 TEST_BIT("srli.b", 208, w26, w1, 6);
2833 TEST_BIT("srli.b", 216, w27, w31, 7);
2834 TEST_BIT("srli.b", 224, w28, w26, 0);
2835 TEST_BIT("srli.b", 232, w29, w26, 1);
2836 TEST_BIT("srli.b", 240, w30, w0, 2);
2837 TEST_BIT("srli.b", 112, w31, w9, 3);
2838 TEST_BIT("srli.h", 0, w0, w17, 12);
2839 TEST_BIT("srli.h", 8, w1, w31, 13);
2840 TEST_BIT("srli.h", 16, w2, w22, 14);
2841 TEST_BIT("srli.h", 24, w3, w3, 15);
2842 TEST_BIT("srli.h", 32, w4, w8, 0);
2843 TEST_BIT("srli.h", 40, w5, w6, 1);
2844 TEST_BIT("srli.h", 48, w6, w6, 2);
2845 TEST_BIT("srli.h", 56, w7, w13, 3);
2846 TEST_BIT("srli.h", 64, w8, w5, 4);
2847 TEST_BIT("srli.h", 72, w9, w29, 5);
2848 TEST_BIT("srli.h", 80, w10, w30, 6);
2849 TEST_BIT("srli.h", 88, w11, w16, 7);
2850 TEST_BIT("srli.h", 96, w12, w4, 8);
2851 TEST_BIT("srli.h", 104, w13, w20, 9);
2852 TEST_BIT("srli.h", 112, w14, w5, 10);
2853 TEST_BIT("srli.h", 120, w15, w29, 11);
2854 TEST_BIT("srli.h", 128, w16, w24, 12);
2855 TEST_BIT("srli.h", 136, w17, w15, 13);
2856 TEST_BIT("srli.h", 144, w18, w25, 14);
2857 TEST_BIT("srli.h", 152, w19, w9, 15);
2858 TEST_BIT("srli.h", 160, w20, w19, 0);
2859 TEST_BIT("srli.h", 168, w21, w29, 1);
2860 TEST_BIT("srli.h", 176, w22, w21, 2);
2861 TEST_BIT("srli.h", 184, w23, w10, 3);
2862 TEST_BIT("srli.h", 192, w24, w16, 4);
2863 TEST_BIT("srli.h", 200, w25, w4, 5);
2864 TEST_BIT("srli.h", 208, w26, w5, 6);
2865 TEST_BIT("srli.h", 216, w27, w18, 7);
2866 TEST_BIT("srli.h", 224, w28, w18, 8);
2867 TEST_BIT("srli.h", 232, w29, w31, 9);
2868 TEST_BIT("srli.h", 240, w30, w28, 10);
2869 TEST_BIT("srli.h", 96, w31, w4, 11);
2870 TEST_BIT("srli.w", 0, w0, w19, 28);
2871 TEST_BIT("srli.w", 8, w1, w27, 29);
2872 TEST_BIT("srli.w", 16, w2, w17, 30);
2873 TEST_BIT("srli.w", 24, w3, w3, 31);
2874 TEST_BIT("srli.w", 32, w4, w17, 0);
2875 TEST_BIT("srli.w", 40, w5, w15, 1);
2876 TEST_BIT("srli.w", 48, w6, w6, 2);
2877 TEST_BIT("srli.w", 56, w7, w25, 3);
2878 TEST_BIT("srli.w", 64, w8, w6, 4);
2879 TEST_BIT("srli.w", 72, w9, w24, 5);
2880 TEST_BIT("srli.w", 80, w10, w12, 6);
2881 TEST_BIT("srli.w", 88, w11, w24, 7);
2882 TEST_BIT("srli.w", 96, w12, w19, 8);
2883 TEST_BIT("srli.w", 104, w13, w21, 9);
2884 TEST_BIT("srli.w", 112, w14, w19, 10);
2885 TEST_BIT("srli.w", 120, w15, w17, 11);
2886 TEST_BIT("srli.w", 128, w16, w27, 12);
2887 TEST_BIT("srli.w", 136, w17, w6, 13);
2888 TEST_BIT("srli.w", 144, w18, w9, 14);
2889 TEST_BIT("srli.w", 152, w19, w25, 15);
2890 TEST_BIT("srli.w", 160, w20, w31, 16);
2891 TEST_BIT("srli.w", 168, w21, w24, 17);
2892 TEST_BIT("srli.w", 176, w22, w27, 18);
2893 TEST_BIT("srli.w", 184, w23, w1, 19);
2894 TEST_BIT("srli.w", 192, w24, w17, 20);
2895 TEST_BIT("srli.w", 200, w25, w31, 21);
2896 TEST_BIT("srli.w", 208, w26, w17, 22);
2897 TEST_BIT("srli.w", 216, w27, w8, 23);
2898 TEST_BIT("srli.w", 224, w28, w9, 24);
2899 TEST_BIT("srli.w", 232, w29, w20, 25);
2900 TEST_BIT("srli.w", 240, w30, w14, 26);
2901 TEST_BIT("srli.w", 120, w31, w16, 27);
2902 TEST_BIT("srli.d", 0, w0, w22, 60);
2903 TEST_BIT("srli.d", 8, w1, w5, 61);
2904 TEST_BIT("srli.d", 16, w2, w1, 62);
2905 TEST_BIT("srli.d", 24, w3, w3, 63);
2906 TEST_BIT("srli.d", 32, w4, w13, 0);
2907 TEST_BIT("srli.d", 40, w5, w26, 1);
2908 TEST_BIT("srli.d", 48, w6, w6, 2);
2909 TEST_BIT("srli.d", 56, w7, w27, 3);
2910 TEST_BIT("srli.d", 64, w8, w22, 4);
2911 TEST_BIT("srli.d", 72, w9, w29, 5);
2912 TEST_BIT("srli.d", 80, w10, w20, 6);
2913 TEST_BIT("srli.d", 88, w11, w8, 7);
2914 TEST_BIT("srli.d", 96, w12, w17, 8);
2915 TEST_BIT("srli.d", 104, w13, w18, 9);
2916 TEST_BIT("srli.d", 112, w14, w16, 10);
2917 TEST_BIT("srli.d", 120, w15, w23, 11);
2918 TEST_BIT("srli.d", 128, w16, w1, 12);
2919 TEST_BIT("srli.d", 136, w17, w19, 13);
2920 TEST_BIT("srli.d", 144, w18, w4, 14);
2921 TEST_BIT("srli.d", 152, w19, w28, 15);
2922 TEST_BIT("srli.d", 160, w20, w4, 16);
2923 TEST_BIT("srli.d", 168, w21, w19, 17);
2924 TEST_BIT("srli.d", 176, w22, w26, 18);
2925 TEST_BIT("srli.d", 184, w23, w14, 19);
2926 TEST_BIT("srli.d", 192, w24, w26, 20);
2927 TEST_BIT("srli.d", 200, w25, w24, 21);
2928 TEST_BIT("srli.d", 208, w26, w5, 22);
2929 TEST_BIT("srli.d", 216, w27, w31, 23);
2930 TEST_BIT("srli.d", 224, w28, w11, 24);
2931 TEST_BIT("srli.d", 232, w29, w18, 25);
2932 TEST_BIT("srli.d", 240, w30, w4, 26);
2933 TEST_BIT("srli.d", 192, w31, w2, 27);
2934 TEST_BIT("srlri.b", 0, w0, w4, 2);
2935 TEST_BIT("srlri.b", 8, w1, w31, 3);
2936 TEST_BIT("srlri.b", 16, w2, w16, 4);
2937 TEST_BIT("srlri.b", 24, w3, w28, 5);
2938 TEST_BIT("srlri.b", 32, w4, w22, 6);
2939 TEST_BIT("srlri.b", 40, w5, w5, 7);
2940 TEST_BIT("srlri.b", 48, w6, w30, 0);
2941 TEST_BIT("srlri.b", 56, w7, w6, 1);
2942 TEST_BIT("srlri.b", 64, w8, w13, 2);
2943 TEST_BIT("srlri.b", 72, w9, w22, 3);
2944 TEST_BIT("srlri.b", 80, w10, w6, 4);
2945 TEST_BIT("srlri.b", 88, w11, w31, 5);
2946 TEST_BIT("srlri.b", 96, w12, w11, 6);
2947 TEST_BIT("srlri.b", 104, w13, w2, 7);
2948 TEST_BIT("srlri.b", 112, w14, w15, 0);
2949 TEST_BIT("srlri.b", 120, w15, w17, 1);
2950 TEST_BIT("srlri.b", 128, w16, w18, 2);
2951 TEST_BIT("srlri.b", 136, w17, w18, 3);
2952 TEST_BIT("srlri.b", 144, w18, w28, 4);
2953 TEST_BIT("srlri.b", 152, w19, w24, 5);
2954 TEST_BIT("srlri.b", 160, w20, w28, 6);
2955 TEST_BIT("srlri.b", 168, w21, w13, 7);
2956 TEST_BIT("srlri.b", 176, w22, w27, 0);
2957 TEST_BIT("srlri.b", 184, w23, w27, 1);
2958 TEST_BIT("srlri.b", 192, w24, w6, 2);
2959 TEST_BIT("srlri.b", 200, w25, w24, 3);
2960 TEST_BIT("srlri.b", 208, w26, w6, 4);
2961 TEST_BIT("srlri.b", 216, w27, w15, 5);
2962 TEST_BIT("srlri.b", 224, w28, w9, 6);
2963 TEST_BIT("srlri.b", 232, w29, w7, 7);
2964 TEST_BIT("srlri.b", 240, w30, w6, 0);
2965 TEST_BIT("srlri.b", 160, w31, w31, 1);
2966 TEST_BIT("srlri.h", 0, w0, w21, 10);
2967 TEST_BIT("srlri.h", 8, w1, w7, 11);
2968 TEST_BIT("srlri.h", 16, w2, w0, 12);
2969 TEST_BIT("srlri.h", 24, w3, w21, 13);
2970 TEST_BIT("srlri.h", 32, w4, w3, 14);
2971 TEST_BIT("srlri.h", 40, w5, w5, 15);
2972 TEST_BIT("srlri.h", 48, w6, w5, 0);
2973 TEST_BIT("srlri.h", 56, w7, w14, 1);
2974 TEST_BIT("srlri.h", 64, w8, w3, 2);
2975 TEST_BIT("srlri.h", 72, w9, w8, 3);
2976 TEST_BIT("srlri.h", 80, w10, w17, 4);
2977 TEST_BIT("srlri.h", 88, w11, w26, 5);
2978 TEST_BIT("srlri.h", 96, w12, w1, 6);
2979 TEST_BIT("srlri.h", 104, w13, w3, 7);
2980 TEST_BIT("srlri.h", 112, w14, w27, 8);
2981 TEST_BIT("srlri.h", 120, w15, w30, 9);
2982 TEST_BIT("srlri.h", 128, w16, w18, 10);
2983 TEST_BIT("srlri.h", 136, w17, w4, 11);
2984 TEST_BIT("srlri.h", 144, w18, w17, 12);
2985 TEST_BIT("srlri.h", 152, w19, w0, 13);
2986 TEST_BIT("srlri.h", 160, w20, w27, 14);
2987 TEST_BIT("srlri.h", 168, w21, w26, 15);
2988 TEST_BIT("srlri.h", 176, w22, w3, 0);
2989 TEST_BIT("srlri.h", 184, w23, w8, 1);
2990 TEST_BIT("srlri.h", 192, w24, w7, 2);
2991 TEST_BIT("srlri.h", 200, w25, w8, 3);
2992 TEST_BIT("srlri.h", 208, w26, w15, 4);
2993 TEST_BIT("srlri.h", 216, w27, w28, 5);
2994 TEST_BIT("srlri.h", 224, w28, w10, 6);
2995 TEST_BIT("srlri.h", 232, w29, w8, 7);
2996 TEST_BIT("srlri.h", 240, w30, w25, 8);
2997 TEST_BIT("srlri.h", 104, w31, w31, 9);
2998 TEST_BIT("srlri.w", 0, w0, w24, 26);
2999 TEST_BIT("srlri.w", 8, w1, w29, 27);
3000 TEST_BIT("srlri.w", 16, w2, w9, 28);
3001 TEST_BIT("srlri.w", 24, w3, w18, 29);
3002 TEST_BIT("srlri.w", 32, w4, w28, 30);
3003 TEST_BIT("srlri.w", 40, w5, w5, 31);
3004 TEST_BIT("srlri.w", 48, w6, w10, 0);
3005 TEST_BIT("srlri.w", 56, w7, w25, 1);
3006 TEST_BIT("srlri.w", 64, w8, w29, 2);
3007 TEST_BIT("srlri.w", 72, w9, w16, 3);
3008 TEST_BIT("srlri.w", 80, w10, w3, 4);
3009 TEST_BIT("srlri.w", 88, w11, w28, 5);
3010 TEST_BIT("srlri.w", 96, w12, w31, 6);
3011 TEST_BIT("srlri.w", 104, w13, w6, 7);
3012 TEST_BIT("srlri.w", 112, w14, w23, 8);
3013 TEST_BIT("srlri.w", 120, w15, w24, 9);
3014 TEST_BIT("srlri.w", 128, w16, w15, 10);
3015 TEST_BIT("srlri.w", 136, w17, w21, 11);
3016 TEST_BIT("srlri.w", 144, w18, w14, 12);
3017 TEST_BIT("srlri.w", 152, w19, w15, 13);
3018 TEST_BIT("srlri.w", 160, w20, w31, 14);
3019 TEST_BIT("srlri.w", 168, w21, w16, 15);
3020 TEST_BIT("srlri.w", 176, w22, w9, 16);
3021 TEST_BIT("srlri.w", 184, w23, w9, 17);
3022 TEST_BIT("srlri.w", 192, w24, w6, 18);
3023 TEST_BIT("srlri.w", 200, w25, w12, 19);
3024 TEST_BIT("srlri.w", 208, w26, w11, 20);
3025 TEST_BIT("srlri.w", 216, w27, w12, 21);
3026 TEST_BIT("srlri.w", 224, w28, w15, 22);
3027 TEST_BIT("srlri.w", 232, w29, w17, 23);
3028 TEST_BIT("srlri.w", 240, w30, w4, 24);
3029 TEST_BIT("srlri.w", 96, w31, w31, 25);
3030 TEST_BIT("srlri.d", 0, w0, w3, 26);
3031 TEST_BIT("srlri.d", 8, w1, w4, 27);
3032 TEST_BIT("srlri.d", 16, w2, w0, 28);
3033 TEST_BIT("srlri.d", 24, w3, w5, 29);
3034 TEST_BIT("srlri.d", 32, w4, w0, 30);
3035 TEST_BIT("srlri.d", 40, w5, w5, 31);
3036 TEST_BIT("srlri.d", 48, w6, w9, 32);
3037 TEST_BIT("srlri.d", 56, w7, w5, 33);
3038 TEST_BIT("srlri.d", 64, w8, w17, 34);
3039 TEST_BIT("srlri.d", 72, w9, w21, 35);
3040 TEST_BIT("srlri.d", 80, w10, w5, 36);
3041 TEST_BIT("srlri.d", 88, w11, w22, 37);
3042 TEST_BIT("srlri.d", 96, w12, w20, 38);
3043 TEST_BIT("srlri.d", 104, w13, w7, 39);
3044 TEST_BIT("srlri.d", 112, w14, w18, 40);
3045 TEST_BIT("srlri.d", 120, w15, w25, 41);
3046 TEST_BIT("srlri.d", 128, w16, w24, 42);
3047 TEST_BIT("srlri.d", 136, w17, w13, 43);
3048 TEST_BIT("srlri.d", 144, w18, w10, 44);
3049 TEST_BIT("srlri.d", 152, w19, w8, 45);
3050 TEST_BIT("srlri.d", 160, w20, w1, 46);
3051 TEST_BIT("srlri.d", 168, w21, w18, 47);
3052 TEST_BIT("srlri.d", 176, w22, w28, 48);
3053 TEST_BIT("srlri.d", 184, w23, w25, 49);
3054 TEST_BIT("srlri.d", 192, w24, w8, 50);
3055 TEST_BIT("srlri.d", 200, w25, w26, 51);
3056 TEST_BIT("srlri.d", 208, w26, w28, 52);
3057 TEST_BIT("srlri.d", 216, w27, w10, 53);
3058 TEST_BIT("srlri.d", 224, w28, w30, 54);
3059 TEST_BIT("srlri.d", 232, w29, w24, 55);
3060 TEST_BIT("srlri.d", 240, w30, w15, 56);
3061 TEST_BIT("srlri.d", 176, w31, w31, 57);
3062 TEST_I8("andi.b", 0, w0, w20, 8);
3063 TEST_I8("andi.b", 8, w1, w30, 255);
3064 TEST_I8("andi.b", 16, w2, w23, 104);
3065 TEST_I8("andi.b", 24, w3, w13, 140);
3066 TEST_I8("andi.b", 32, w4, w7, 7);
3067 TEST_I8("andi.b", 40, w5, w22, 104);
3068 TEST_I8("andi.b", 48, w6, w21, 141);
3069 TEST_I8("andi.b", 56, w7, w26, 111);
3070 TEST_I8("andi.b", 64, w8, w12, 123);
3071 TEST_I8("andi.b", 72, w9, w31, 240);
3072 TEST_I8("andi.b", 80, w10, w19, 248);
3073 TEST_I8("andi.b", 88, w11, w17, 248);
3074 TEST_I8("andi.b", 96, w12, w12, 169);
3075 TEST_I8("andi.b", 104, w13, w1, 118);
3076 TEST_I8("andi.b", 112, w14, w20, 93);
3077 TEST_I8("andi.b", 120, w15, w3, 52);
3078 TEST_I8("andi.b", 128, w16, w28, 50);
3079 TEST_I8("andi.b", 136, w17, w27, 204);
3080 TEST_I8("andi.b", 144, w18, w9, 25);
3081 TEST_I8("andi.b", 152, w19, w19, 96);
3082 TEST_I8("andi.b", 160, w20, w24, 80);
3083 TEST_I8("andi.b", 168, w21, w12, 153);
3084 TEST_I8("andi.b", 176, w22, w9, 97);
3085 TEST_I8("andi.b", 184, w23, w1, 227);
3086 TEST_I8("andi.b", 192, w24, w1, 55);
3087 TEST_I8("andi.b", 200, w25, w13, 155);
3088 TEST_I8("andi.b", 208, w26, w1, 119);
3089 TEST_I8("andi.b", 216, w27, w29, 183);
3090 TEST_I8("andi.b", 224, w28, w9, 45);
3091 TEST_I8("andi.b", 232, w29, w22, 18);
3092 TEST_I8("andi.b", 240, w30, w15, 114);
3093 TEST_I8("andi.b", 144, w31, w7, 194);
3094 TEST_I8("bmnzi.b", 0, w0, w12, 13);
3095 TEST_I8("bmnzi.b", 8, w1, w13, 68);
3096 TEST_I8("bmnzi.b", 16, w2, w27, 223);
3097 TEST_I8("bmnzi.b", 24, w3, w28, 217);
3098 TEST_I8("bmnzi.b", 32, w4, w19, 177);
3099 TEST_I8("bmnzi.b", 40, w5, w0, 178);
3100 TEST_I8("bmnzi.b", 48, w6, w18, 124);
3101 TEST_I8("bmnzi.b", 56, w7, w4, 172);
3102 TEST_I8("bmnzi.b", 64, w8, w8, 102);
3103 TEST_I8("bmnzi.b", 72, w9, w0, 114);
3104 TEST_I8("bmnzi.b", 80, w10, w17, 158);
3105 TEST_I8("bmnzi.b", 88, w11, w11, 9);
3106 TEST_I8("bmnzi.b", 96, w12, w11, 240);
3107 TEST_I8("bmnzi.b", 104, w13, w7, 207);
3108 TEST_I8("bmnzi.b", 112, w14, w3, 38);
3109 TEST_I8("bmnzi.b", 120, w15, w28, 39);
3110 TEST_I8("bmnzi.b", 128, w16, w13, 157);
3111 TEST_I8("bmnzi.b", 136, w17, w31, 204);
3112 TEST_I8("bmnzi.b", 144, w18, w3, 112);
3113 TEST_I8("bmnzi.b", 152, w19, w16, 214);
3114 TEST_I8("bmnzi.b", 160, w20, w16, 72);
3115 TEST_I8("bmnzi.b", 168, w21, w2, 7);
3116 TEST_I8("bmnzi.b", 176, w22, w11, 179);
3117 TEST_I8("bmnzi.b", 184, w23, w8, 218);
3118 TEST_I8("bmnzi.b", 192, w24, w19, 253);
3119 TEST_I8("bmnzi.b", 200, w25, w26, 249);
3120 TEST_I8("bmnzi.b", 208, w26, w20, 166);
3121 TEST_I8("bmnzi.b", 216, w27, w14, 5);
3122 TEST_I8("bmnzi.b", 224, w28, w26, 224);
3123 TEST_I8("bmnzi.b", 232, w29, w10, 104);
3124 TEST_I8("bmnzi.b", 240, w30, w0, 100);
3125 TEST_I8("bmnzi.b", 192, w31, w9, 254);
3126 TEST_I8("bmzi.b", 0, w0, w26, 252);
3127 TEST_I8("bmzi.b", 8, w1, w1, 128);
3128 TEST_I8("bmzi.b", 16, w2, w26, 172);
3129 TEST_I8("bmzi.b", 24, w3, w19, 42);
3130 TEST_I8("bmzi.b", 32, w4, w4, 249);
3131 TEST_I8("bmzi.b", 40, w5, w24, 254);
3132 TEST_I8("bmzi.b", 48, w6, w18, 222);
3133 TEST_I8("bmzi.b", 56, w7, w28, 70);
3134 TEST_I8("bmzi.b", 64, w8, w28, 170);
3135 TEST_I8("bmzi.b", 72, w9, w5, 240);
3136 TEST_I8("bmzi.b", 80, w10, w9, 145);
3137 TEST_I8("bmzi.b", 88, w11, w13, 186);
3138 TEST_I8("bmzi.b", 96, w12, w8, 182);
3139 TEST_I8("bmzi.b", 104, w13, w8, 12);
3140 TEST_I8("bmzi.b", 112, w14, w20, 54);
3141 TEST_I8("bmzi.b", 120, w15, w19, 206);
3142 TEST_I8("bmzi.b", 128, w16, w2, 160);
3143 TEST_I8("bmzi.b", 136, w17, w5, 28);
3144 TEST_I8("bmzi.b", 144, w18, w12, 25);
3145 TEST_I8("bmzi.b", 152, w19, w6, 222);
3146 TEST_I8("bmzi.b", 160, w20, w23, 116);
3147 TEST_I8("bmzi.b", 168, w21, w8, 140);
3148 TEST_I8("bmzi.b", 176, w22, w3, 2);
3149 TEST_I8("bmzi.b", 184, w23, w25, 209);
3150 TEST_I8("bmzi.b", 192, w24, w6, 244);
3151 TEST_I8("bmzi.b", 200, w25, w28, 15);
3152 TEST_I8("bmzi.b", 208, w26, w11, 41);
3153 TEST_I8("bmzi.b", 216, w27, w11, 33);
3154 TEST_I8("bmzi.b", 224, w28, w8, 95);
3155 TEST_I8("bmzi.b", 232, w29, w1, 72);
3156 TEST_I8("bmzi.b", 240, w30, w31, 218);
3157 TEST_I8("bmzi.b", 208, w31, w19, 90);
3158 TEST_I8("bseli.b", 0, w0, w17, 179);
3159 TEST_I8("bseli.b", 8, w1, w1, 39);
3160 TEST_I8("bseli.b", 16, w2, w15, 107);
3161 TEST_I8("bseli.b", 24, w3, w23, 228);
3162 TEST_I8("bseli.b", 32, w4, w0, 98);
3163 TEST_I8("bseli.b", 40, w5, w1, 141);
3164 TEST_I8("bseli.b", 48, w6, w0, 94);
3165 TEST_I8("bseli.b", 56, w7, w9, 198);
3166 TEST_I8("bseli.b", 64, w8, w3, 86);
3167 TEST_I8("bseli.b", 72, w9, w29, 202);
3168 TEST_I8("bseli.b", 80, w10, w31, 215);
3169 TEST_I8("bseli.b", 88, w11, w16, 138);
3170 TEST_I8("bseli.b", 96, w12, w4, 25);
3171 TEST_I8("bseli.b", 104, w13, w15, 246);
3172 TEST_I8("bseli.b", 112, w14, w20, 86);
3173 TEST_I8("bseli.b", 120, w15, w26, 215);
3174 TEST_I8("bseli.b", 128, w16, w8, 183);
3175 TEST_I8("bseli.b", 136, w17, w23, 224);
3176 TEST_I8("bseli.b", 144, w18, w5, 228);
3177 TEST_I8("bseli.b", 152, w19, w19, 167);
3178 TEST_I8("bseli.b", 160, w20, w29, 169);
3179 TEST_I8("bseli.b", 168, w21, w7, 13);
3180 TEST_I8("bseli.b", 176, w22, w30, 165);
3181 TEST_I8("bseli.b", 184, w23, w8, 100);
3182 TEST_I8("bseli.b", 192, w24, w2, 90);
3183 TEST_I8("bseli.b", 200, w25, w22, 176);
3184 TEST_I8("bseli.b", 208, w26, w16, 135);
3185 TEST_I8("bseli.b", 216, w27, w24, 62);
3186 TEST_I8("bseli.b", 224, w28, w15, 31);
3187 TEST_I8("bseli.b", 232, w29, w20, 3);
3188 TEST_I8("bseli.b", 240, w30, w28, 68);
3189 TEST_I8("bseli.b", 176, w31, w5, 37);
3190 TEST_I8("nori.b", 0, w0, w10, 103);
3191 TEST_I8("nori.b", 8, w1, w15, 221);
3192 TEST_I8("nori.b", 16, w2, w7, 45);
3193 TEST_I8("nori.b", 24, w3, w21, 69);
3194 TEST_I8("nori.b", 32, w4, w6, 148);
3195 TEST_I8("nori.b", 40, w5, w24, 170);
3196 TEST_I8("nori.b", 48, w6, w8, 173);
3197 TEST_I8("nori.b", 56, w7, w4, 138);
3198 TEST_I8("nori.b", 64, w8, w5, 61);
3199 TEST_I8("nori.b", 72, w9, w2, 149);
3200 TEST_I8("nori.b", 80, w10, w7, 81);
3201 TEST_I8("nori.b", 88, w11, w14, 103);
3202 TEST_I8("nori.b", 96, w12, w11, 45);
3203 TEST_I8("nori.b", 104, w13, w24, 122);
3204 TEST_I8("nori.b", 112, w14, w29, 5);
3205 TEST_I8("nori.b", 120, w15, w17, 176);
3206 TEST_I8("nori.b", 128, w16, w25, 93);
3207 TEST_I8("nori.b", 136, w17, w30, 79);
3208 TEST_I8("nori.b", 144, w18, w8, 102);
3209 TEST_I8("nori.b", 152, w19, w5, 51);
3210 TEST_I8("nori.b", 160, w20, w26, 106);
3211 TEST_I8("nori.b", 168, w21, w21, 181);
3212 TEST_I8("nori.b", 176, w22, w16, 32);
3213 TEST_I8("nori.b", 184, w23, w29, 184);
3214 TEST_I8("nori.b", 192, w24, w31, 249);
3215 TEST_I8("nori.b", 200, w25, w21, 254);
3216 TEST_I8("nori.b", 208, w26, w6, 174);
3217 TEST_I8("nori.b", 216, w27, w31, 12);
3218 TEST_I8("nori.b", 224, w28, w28, 157);
3219 TEST_I8("nori.b", 232, w29, w16, 101);
3220 TEST_I8("nori.b", 240, w30, w14, 106);
3221 TEST_I8("nori.b", 128, w31, w14, 4);
3222 TEST_I8("ori.b", 0, w0, w10, 192);
3223 TEST_I8("ori.b", 8, w1, w2, 43);
3224 TEST_I8("ori.b", 16, w2, w25, 50);
3225 TEST_I8("ori.b", 24, w3, w24, 249);
3226 TEST_I8("ori.b", 32, w4, w6, 81);
3227 TEST_I8("ori.b", 40, w5, w18, 33);
3228 TEST_I8("ori.b", 48, w6, w14, 16);
3229 TEST_I8("ori.b", 56, w7, w16, 254);
3230 TEST_I8("ori.b", 64, w8, w5, 20);
3231 TEST_I8("ori.b", 72, w9, w4, 222);
3232 TEST_I8("ori.b", 80, w10, w19, 64);
3233 TEST_I8("ori.b", 88, w11, w9, 0);
3234 TEST_I8("ori.b", 96, w12, w11, 186);
3235 TEST_I8("ori.b", 104, w13, w3, 114);
3236 TEST_I8("ori.b", 112, w14, w0, 216);
3237 TEST_I8("ori.b", 120, w15, w15, 134);
3238 TEST_I8("ori.b", 128, w16, w11, 167);
3239 TEST_I8("ori.b", 136, w17, w25, 183);
3240 TEST_I8("ori.b", 144, w18, w9, 182);
3241 TEST_I8("ori.b", 152, w19, w14, 202);
3242 TEST_I8("ori.b", 160, w20, w18, 168);
3243 TEST_I8("ori.b", 168, w21, w5, 113);
3244 TEST_I8("ori.b", 176, w22, w4, 221);
3245 TEST_I8("ori.b", 184, w23, w14, 128);
3246 TEST_I8("ori.b", 192, w24, w10, 96);
3247 TEST_I8("ori.b", 200, w25, w31, 222);
3248 TEST_I8("ori.b", 208, w26, w5, 150);
3249 TEST_I8("ori.b", 216, w27, w12, 238);
3250 TEST_I8("ori.b", 224, w28, w4, 80);
3251 TEST_I8("ori.b", 232, w29, w26, 194);
3252 TEST_I8("ori.b", 240, w30, w4, 50);
3253 TEST_I8("ori.b", 96, w31, w31, 12);
3254 TEST_I8("xori.b", 0, w0, w27, 253);
3255 TEST_I8("xori.b", 8, w1, w27, 217);
3256 TEST_I8("xori.b", 16, w2, w2, 59);
3257 TEST_I8("xori.b", 24, w3, w2, 25);
3258 TEST_I8("xori.b", 32, w4, w7, 175);
3259 TEST_I8("xori.b", 40, w5, w19, 157);
3260 TEST_I8("xori.b", 48, w6, w23, 238);
3261 TEST_I8("xori.b", 56, w7, w17, 176);
3262 TEST_I8("xori.b", 64, w8, w21, 226);
3263 TEST_I8("xori.b", 72, w9, w2, 160);
3264 TEST_I8("xori.b", 80, w10, w13, 251);
3265 TEST_I8("xori.b", 88, w11, w6, 83);
3266 TEST_I8("xori.b", 96, w12, w22, 45);
3267 TEST_I8("xori.b", 104, w13, w17, 187);
3268 TEST_I8("xori.b", 112, w14, w11, 74);
3269 TEST_I8("xori.b", 120, w15, w26, 241);
3270 TEST_I8("xori.b", 128, w16, w24, 91);
3271 TEST_I8("xori.b", 136, w17, w6, 180);
3272 TEST_I8("xori.b", 144, w18, w22, 4);
3273 TEST_I8("xori.b", 152, w19, w16, 38);
3274 TEST_I8("xori.b", 160, w20, w18, 198);
3275 TEST_I8("xori.b", 168, w21, w0, 193);
3276 TEST_I8("xori.b", 176, w22, w6, 144);
3277 TEST_I8("xori.b", 184, w23, w19, 123);
3278 TEST_I8("xori.b", 192, w24, w14, 110);
3279 TEST_I8("xori.b", 200, w25, w24, 148);
3280 TEST_I8("xori.b", 208, w26, w10, 209);
3281 TEST_I8("xori.b", 216, w27, w5, 192);
3282 TEST_I8("xori.b", 224, w28, w25, 197);
3283 TEST_I8("xori.b", 232, w29, w9, 235);
3284 TEST_I8("xori.b", 240, w30, w30, 86);
3285 TEST_I8("xori.b", 64, w31, w18, 105);
3286 TEST_3R("and.v", 0, 136, w0, w2, w20);
3287 TEST_3R("and.v", 8, 104, w1, w16, w8);
3288 TEST_3R("and.v", 16, 8, w2, w2, w2);
3289 TEST_3R("and.v", 24, 96, w3, w22, w16);
3290 TEST_3R("and.v", 32, 152, w4, w29, w1);
3291 TEST_3R("and.v", 40, 208, w5, w9, w2);
3292 TEST_3R("and.v", 48, 232, w6, w12, w7);
3293 TEST_3R("and.v", 56, 160, w7, w6, w18);
3294 TEST_3R("and.v", 64, 64, w8, w29, w4);
3295 TEST_3R("and.v", 72, 208, w9, w6, w24);
3296 TEST_3R("and.v", 80, 152, w10, w21, w3);
3297 TEST_3R("and.v", 88, 224, w11, w23, w11);
3298 TEST_3R("and.v", 96, 24, w12, w22, w7);
3299 TEST_3R("and.v", 104, 208, w13, w18, w16);
3300 TEST_3R("and.v", 112, 176, w14, w2, w3);
3301 TEST_3R("and.v", 120, 216, w15, w15, w3);
3302 TEST_3R("and.v", 128, 56, w16, w28, w5);
3303 TEST_3R("and.v", 136, 56, w17, w8, w12);
3304 TEST_3R("and.v", 144, 56, w18, w14, w14);
3305 TEST_3R("and.v", 152, 48, w19, w31, w11);
3306 TEST_3R("and.v", 160, 104, w20, w18, w17);
3307 TEST_3R("and.v", 168, 24, w21, w7, w6);
3308 TEST_3R("and.v", 176, 128, w22, w15, w29);
3309 TEST_3R("and.v", 184, 112, w23, w5, w20);
3310 TEST_3R("and.v", 192, 120, w24, w21, w10);
3311 TEST_3R("and.v", 200, 144, w25, w28, w29);
3312 TEST_3R("and.v", 208, 80, w26, w24, w2);
3313 TEST_3R("and.v", 216, 136, w27, w0, w15);
3314 TEST_3R("and.v", 224, 104, w28, w15, w14);
3315 TEST_3R("and.v", 232, 136, w29, w26, w17);
3316 TEST_3R("and.v", 240, 16, w30, w12, w13);
3317 TEST_3R("and.v", 64, 48, w31, w18, w11);
3318 TEST_3R("bmnz.v", 0, 232, w0, w10, w31);
3319 TEST_3R("bmnz.v", 8, 224, w1, w1, w1);
3320 TEST_3R("bmnz.v", 16, 8, w2, w28, w5);
3321 TEST_3R("bmnz.v", 24, 88, w3, w20, w7);
3322 TEST_3R("bmnz.v", 32, 96, w4, w21, w22);
3323 TEST_3R("bmnz.v", 40, 40, w5, w4, w11);
3324 TEST_3R("bmnz.v", 48, 160, w6, w22, w10);
3325 TEST_3R("bmnz.v", 56, 168, w7, w8, w29);
3326 TEST_3R("bmnz.v", 64, 184, w8, w25, w13);
3327 TEST_3R("bmnz.v", 72, 128, w9, w16, w2);
3328 TEST_3R("bmnz.v", 80, 80, w10, w31, w12);
3329 TEST_3R("bmnz.v", 88, 224, w11, w7, w16);
3330 TEST_3R("bmnz.v", 96, 64, w12, w8, w21);
3331 TEST_3R("bmnz.v", 104, 184, w13, w1, w10);
3332 TEST_3R("bmnz.v", 112, 72, w14, w4, w4);
3333 TEST_3R("bmnz.v", 120, 120, w15, w14, w16);
3334 TEST_3R("bmnz.v", 128, 224, w16, w4, w22);
3335 TEST_3R("bmnz.v", 136, 224, w17, w7, w30);
3336 TEST_3R("bmnz.v", 144, 160, w18, w22, w23);
3337 TEST_3R("bmnz.v", 152, 48, w19, w5, w8);
3338 TEST_3R("bmnz.v", 160, 104, w20, w10, w7);
3339 TEST_3R("bmnz.v", 168, 216, w21, w15, w21);
3340 TEST_3R("bmnz.v", 176, 56, w22, w31, w15);
3341 TEST_3R("bmnz.v", 184, 0, w23, w23, w7);
3342 TEST_3R("bmnz.v", 192, 136, w24, w13, w9);
3343 TEST_3R("bmnz.v", 200, 216, w25, w23, w13);
3344 TEST_3R("bmnz.v", 208, 216, w26, w6, w29);
3345 TEST_3R("bmnz.v", 216, 80, w27, w10, w19);
3346 TEST_3R("bmnz.v", 224, 176, w28, w18, w17);
3347 TEST_3R("bmnz.v", 232, 96, w29, w8, w9);
3348 TEST_3R("bmnz.v", 240, 24, w30, w13, w17);
3349 TEST_3R("bmnz.v", 128, 48, w31, w24, w7);
3350 TEST_3R("bmz.v", 0, 184, w0, w27, w0);
3351 TEST_3R("bmz.v", 8, 0, w1, w23, w9);
3352 TEST_3R("bmz.v", 16, 184, w2, w5, w6);
3353 TEST_3R("bmz.v", 24, 64, w3, w2, w15);
3354 TEST_3R("bmz.v", 32, 176, w4, w22, w15);
3355 TEST_3R("bmz.v", 40, 200, w5, w7, w3);
3356 TEST_3R("bmz.v", 48, 88, w6, w16, w24);
3357 TEST_3R("bmz.v", 56, 16, w7, w7, w7);
3358 TEST_3R("bmz.v", 64, 168, w8, w16, w21);
3359 TEST_3R("bmz.v", 72, 56, w9, w23, w28);
3360 TEST_3R("bmz.v", 80, 120, w10, w30, w18);
3361 TEST_3R("bmz.v", 88, 192, w11, w13, w4);
3362 TEST_3R("bmz.v", 96, 40, w12, w18, w9);
3363 TEST_3R("bmz.v", 104, 104, w13, w29, w12);
3364 TEST_3R("bmz.v", 112, 128, w14, w18, w18);
3365 TEST_3R("bmz.v", 120, 72, w15, w27, w26);
3366 TEST_3R("bmz.v", 128, 136, w16, w30, w9);
3367 TEST_3R("bmz.v", 136, 152, w17, w22, w6);
3368 TEST_3R("bmz.v", 144, 80, w18, w6, w27);
3369 TEST_3R("bmz.v", 152, 16, w19, w29, w23);
3370 TEST_3R("bmz.v", 160, 16, w20, w28, w10);
3371 TEST_3R("bmz.v", 168, 208, w21, w9, w23);
3372 TEST_3R("bmz.v", 176, 184, w22, w22, w13);
3373 TEST_3R("bmz.v", 184, 160, w23, w19, w11);
3374 TEST_3R("bmz.v", 192, 112, w24, w3, w23);
3375 TEST_3R("bmz.v", 200, 120, w25, w5, w18);
3376 TEST_3R("bmz.v", 208, 224, w26, w14, w16);
3377 TEST_3R("bmz.v", 216, 184, w27, w8, w6);
3378 TEST_3R("bmz.v", 224, 216, w28, w4, w12);
3379 TEST_3R("bmz.v", 232, 8, w29, w25, w10);
3380 TEST_3R("bmz.v", 240, 168, w30, w13, w6);
3381 TEST_3R("bmz.v", 224, 32, w31, w1, w15);
3382 TEST_3R("bsel.v", 0, 80, w0, w27, w5);
3383 TEST_3R("bsel.v", 8, 8, w1, w18, w8);
3384 TEST_3R("bsel.v", 16, 120, w2, w5, w4);
3385 TEST_3R("bsel.v", 24, 0, w3, w21, w10);
3386 TEST_3R("bsel.v", 32, 144, w4, w28, w23);
3387 TEST_3R("bsel.v", 40, 136, w5, w8, w31);
3388 TEST_3R("bsel.v", 48, 24, w6, w18, w30);
3389 TEST_3R("bsel.v", 56, 40, w7, w24, w8);
3390 TEST_3R("bsel.v", 64, 32, w8, w7, w9);
3391 TEST_3R("bsel.v", 72, 160, w9, w4, w24);
3392 TEST_3R("bsel.v", 80, 88, w10, w23, w19);
3393 TEST_3R("bsel.v", 88, 0, w11, w14, w6);
3394 TEST_3R("bsel.v", 96, 152, w12, w9, w11);
3395 TEST_3R("bsel.v", 104, 176, w13, w19, w0);
3396 TEST_3R("bsel.v", 112, 24, w14, w6, w28);
3397 TEST_3R("bsel.v", 120, 64, w15, w15, w28);
3398 TEST_3R("bsel.v", 128, 64, w16, w9, w12);
3399 TEST_3R("bsel.v", 136, 144, w17, w7, w9);
3400 TEST_3R("bsel.v", 144, 0, w18, w15, w7);
3401 TEST_3R("bsel.v", 152, 168, w19, w24, w24);
3402 TEST_3R("bsel.v", 160, 88, w20, w27, w17);
3403 TEST_3R("bsel.v", 168, 160, w21, w19, w21);
3404 TEST_3R("bsel.v", 176, 184, w22, w27, w1);
3405 TEST_3R("bsel.v", 184, 112, w23, w31, w10);
3406 TEST_3R("bsel.v", 192, 224, w24, w7, w30);
3407 TEST_3R("bsel.v", 200, 208, w25, w26, w4);
3408 TEST_3R("bsel.v", 208, 32, w26, w4, w0);
3409 TEST_3R("bsel.v", 216, 216, w27, w13, w12);
3410 TEST_3R("bsel.v", 224, 32, w28, w28, w28);
3411 TEST_3R("bsel.v", 232, 64, w29, w21, w31);
3412 TEST_3R("bsel.v", 240, 8, w30, w29, w22);
3413 TEST_3R("bsel.v", 112, 72, w31, w5, w18);
3414 TEST_3R("nor.v", 0, 64, w0, w29, w30);
3415 TEST_3R("nor.v", 8, 8, w1, w18, w6);
3416 TEST_3R("nor.v", 16, 0, w2, w8, w0);
3417 TEST_3R("nor.v", 24, 32, w3, w27, w5);
3418 TEST_3R("nor.v", 32, 144, w4, w18, w31);
3419 TEST_3R("nor.v", 40, 144, w5, w5, w5);
3420 TEST_3R("nor.v", 48, 16, w6, w21, w21);
3421 TEST_3R("nor.v", 56, 16, w7, w12, w18);
3422 TEST_3R("nor.v", 64, 168, w8, w9, w23);
3423 TEST_3R("nor.v", 72, 56, w9, w23, w28);
3424 TEST_3R("nor.v", 80, 192, w10, w9, w27);
3425 TEST_3R("nor.v", 88, 128, w11, w6, w26);
3426 TEST_3R("nor.v", 96, 144, w12, w25, w0);
3427 TEST_3R("nor.v", 104, 16, w13, w1, w0);
3428 TEST_3R("nor.v", 112, 56, w14, w28, w5);
3429 TEST_3R("nor.v", 120, 40, w15, w24, w16);
3430 TEST_3R("nor.v", 128, 136, w16, w13, w17);
3431 TEST_3R("nor.v", 136, 0, w17, w31, w8);
3432 TEST_3R("nor.v", 144, 0, w18, w18, w22);
3433 TEST_3R("nor.v", 152, 56, w19, w11, w18);
3434 TEST_3R("nor.v", 160, 128, w20, w21, w14);
3435 TEST_3R("nor.v", 168, 16, w21, w27, w8);
3436 TEST_3R("nor.v", 176, 168, w22, w20, w8);
3437 TEST_3R("nor.v", 184, 192, w23, w22, w8);
3438 TEST_3R("nor.v", 192, 8, w24, w18, w14);
3439 TEST_3R("nor.v", 200, 80, w25, w1, w6);
3440 TEST_3R("nor.v", 208, 136, w26, w18, w5);
3441 TEST_3R("nor.v", 216, 168, w27, w3, w17);
3442 TEST_3R("nor.v", 224, 192, w28, w11, w5);
3443 TEST_3R("nor.v", 232, 192, w29, w28, w17);
3444 TEST_3R("nor.v", 240, 112, w30, w27, w6);
3445 TEST_3R("nor.v", 40, 144, w31, w14, w31);
3446 TEST_3R("or.v", 0, 0, w0, w12, w28);
3447 TEST_3R("or.v", 8, 8, w1, w30, w10);
3448 TEST_3R("or.v", 16, 200, w2, w0, w16);
3449 TEST_3R("or.v", 24, 96, w3, w18, w21);
3450 TEST_3R("or.v", 32, 32, w4, w21, w6);
3451 TEST_3R("or.v", 40, 128, w5, w5, w5);
3452 TEST_3R("or.v", 48, 56, w6, w12, w28);
3453 TEST_3R("or.v", 56, 96, w7, w27, w23);
3454 TEST_3R("or.v", 64, 0, w8, w31, w5);
3455 TEST_3R("or.v", 72, 120, w9, w10, w26);
3456 TEST_3R("or.v", 80, 184, w10, w26, w6);
3457 TEST_3R("or.v", 88, 160, w11, w26, w5);
3458 TEST_3R("or.v", 96, 80, w12, w3, w5);
3459 TEST_3R("or.v", 104, 104, w13, w12, w23);
3460 TEST_3R("or.v", 112, 0, w14, w2, w12);
3461 TEST_3R("or.v", 120, 120, w15, w5, w12);
3462 TEST_3R("or.v", 128, 72, w16, w11, w11);
3463 TEST_3R("or.v", 136, 88, w17, w25, w7);
3464 TEST_3R("or.v", 144, 224, w18, w28, w6);
3465 TEST_3R("or.v", 152, 64, w19, w0, w19);
3466 TEST_3R("or.v", 160, 56, w20, w14, w27);
3467 TEST_3R("or.v", 168, 120, w21, w9, w1);
3468 TEST_3R("or.v", 176, 224, w22, w22, w3);
3469 TEST_3R("or.v", 184, 200, w23, w12, w6);
3470 TEST_3R("or.v", 192, 144, w24, w0, w18);
3471 TEST_3R("or.v", 200, 168, w25, w10, w21);
3472 TEST_3R("or.v", 208, 16, w26, w22, w6);
3473 TEST_3R("or.v", 216, 112, w27, w15, w13);
3474 TEST_3R("or.v", 224, 208, w28, w11, w19);
3475 TEST_3R("or.v", 232, 208, w29, w11, w3);
3476 TEST_3R("or.v", 240, 24, w30, w6, w18);
3477 TEST_3R("or.v", 24, 160, w31, w8, w26);
3478 TEST_3R("xor.v", 0, 56, w0, w17, w14);
3479 TEST_3R("xor.v", 8, 128, w1, w11, w9);
3480 TEST_3R("xor.v", 16, 152, w2, w1, w15);
3481 TEST_3R("xor.v", 24, 136, w3, w16, w28);
3482 TEST_3R("xor.v", 32, 104, w4, w27, w15);
3483 TEST_3R("xor.v", 40, 192, w5, w7, w18);
3484 TEST_3R("xor.v", 48, 224, w6, w13, w4);
3485 TEST_3R("xor.v", 56, 176, w7, w7, w7);
3486 TEST_3R("xor.v", 64, 80, w8, w31, w0);
3487 TEST_3R("xor.v", 72, 184, w9, w6, w7);
3488 TEST_3R("xor.v", 80, 72, w10, w13, w1);
3489 TEST_3R("xor.v", 88, 128, w11, w31, w15);
3490 TEST_3R("xor.v", 96, 136, w12, w10, w24);
3491 TEST_3R("xor.v", 104, 48, w13, w12, w7);
3492 TEST_3R("xor.v", 112, 56, w14, w28, w3);
3493 TEST_3R("xor.v", 120, 40, w15, w24, w18);
3494 TEST_3R("xor.v", 128, 232, w16, w31, w5);
3495 TEST_3R("xor.v", 136, 88, w17, w12, w9);
3496 TEST_3R("xor.v", 144, 104, w18, w2, w8);
3497 TEST_3R("xor.v", 152, 128, w19, w6, w14);
3498 TEST_3R("xor.v", 160, 128, w20, w4, w28);
3499 TEST_3R("xor.v", 168, 0, w21, w30, w27);
3500 TEST_3R("xor.v", 176, 120, w22, w4, w5);
3501 TEST_3R("xor.v", 184, 192, w23, w15, w17);
3502 TEST_3R("xor.v", 192, 72, w24, w2, w14);
3503 TEST_3R("xor.v", 200, 96, w25, w30, w25);
3504 TEST_3R("xor.v", 208, 40, w26, w26, w29);
3505 TEST_3R("xor.v", 216, 152, w27, w5, w2);
3506 TEST_3R("xor.v", 224, 72, w28, w17, w17);
3507 TEST_3R("xor.v", 232, 80, w29, w7, w19);
3508 TEST_3R("xor.v", 240, 0, w30, w22, w25);
3509 TEST_3R("xor.v", 128, 184, w31, w12, w29);
3510 #else
3511 printf("This test requires MSA extension.\n");
3512 #endif
3513 return 0;