Lines Matching refs:TESTINST3
41 #define TESTINST3(instruction, RMval, RNval, RD, RM, RN, carryin) \
165 TESTINST3("adds r0, r1, r2", 0, 0, r0, r1, r2, 0);
166 TESTINST3("adds r0, r1, r2", 0, 1, r0, r1, r2, 0);
167 TESTINST3("adds r0, r1, r2", 1, 0, r0, r1, r2, 0);
168 TESTINST3("adds r0, r1, r2", 1, 1, r0, r1, r2, 0);
169 TESTINST3("adds r0, r1, r2", 0, -1, r0, r1, r2, 0);
170 TESTINST3("adds r0, r1, r2", 1, -1, r0, r1, r2, 0);
171 TESTINST3("adds r0, r1, r2", 0x7fffffff, 1, r0, r1, r2, 0);
172 TESTINST3("adds r0, r1, r2", 0x80000000, -1, r0, r1, r2, 0);
173 TESTINST3("adds r0, r1, r2", 0x80000000, 0, r0, r1, r2, 0);
176 TESTINST3("adcs r0, r1, r2", 0, 0, r0, r1, r2, 0);
177 TESTINST3("adcs r0, r1, r2", 0, 0, r0, r1, r2, 1);
180 TESTINST3("lsl r0, r1, r2", 0xffffffff, 0, r0, r1, r2, 0);
181 TESTINST3("lsl r0, r1, r2", 0xffffffff, 1, r0, r1, r2, 0);
182 TESTINST3("lsl r0, r1, r2", 0xffffffff, 2, r0, r1, r2, 0);
183 TESTINST3("lsl r0, r1, r2", 0xffffffff, 31, r0, r1, r2, 0);
184 TESTINST3("lsl r0, r1, r2", 0xffffffff, 32, r0, r1, r2, 0);
185 TESTINST3("lsl r0, r1, r2", 0xffffffff, 33, r0, r1, r2, 0);
186 TESTINST3("lsl r0, r1, r2", 0xffffffff, 63, r0, r1, r2, 0);
187 TESTINST3("lsl r0, r1, r2", 0xffffffff, 64, r0, r1, r2, 0);
188 TESTINST3("lsl r0, r1, r2", 0xffffffff, 255, r0, r1, r2, 0);
189 TESTINST3("lsl r0, r1, r2", 0xffffffff, 256, r0, r1, r2, 0);
191 TESTINST3("lsl r0, r1, r2", 0x1, 0, r0, r1, r2, 0);
192 TESTINST3("lsl r0, r1, r2", 0x1, 1, r0, r1, r2, 0);
193 TESTINST3("lsl r0, r1, r2", 0x1, 31, r0, r1, r2, 0);
194 TESTINST3("lsl r0, r1, r2", 0x2, 31, r0, r1, r2, 0);
198 TESTINST3("lsls r0, r1, r2", 0xffffffff, 0, r0, r1, r2, c);
199 TESTINST3("lsls r0, r1, r2", 0xffffffff, 1, r0, r1, r2, c);
200 TESTINST3("lsls r0, r1, r2", 0xffffffff, 2, r0, r1, r2, c);
201 TESTINST3("lsls r0, r1, r2", 0xffffffff, 31, r0, r1, r2, c);
202 TESTINST3("lsls r0, r1, r2", 0xffffffff, 32, r0, r1, r2, c);
203 TESTINST3("lsls r0, r1, r2", 0xffffffff, 33, r0, r1, r2, c);
204 TESTINST3("lsls r0, r1, r2", 0xffffffff, 63, r0, r1, r2, c);
205 TESTINST3("lsls r0, r1, r2", 0xffffffff, 64, r0, r1, r2, c);
206 TESTINST3("lsls r0, r1, r2", 0xffffffff, 255, r0, r1, r2, c);
207 TESTINST3("lsls r0, r1, r2", 0xffffffff, 256, r0, r1, r2, c);
208 TESTINST3("lsls r0, r1, r2", 0x1, 0, r0, r1, r2, c);
209 TESTINST3("lsls r0, r1, r2", 0x1, 1, r0, r1, r2, c);
210 TESTINST3("lsls r0, r1, r2", 0x1, 31, r0, r1, r2, c);
211 TESTINST3("lsls r0, r1, r2", 0x2, 31, r0, r1, r2, c);
237 TESTINST3("lsr r0, r1, r2", 0xffffffff, 0, r0, r1, r2, 0);
238 TESTINST3("lsr r0, r1, r2", 0xffffffff, 1, r0, r1, r2, 0);
239 TESTINST3("lsr r0, r1, r2", 0xffffffff, 2, r0, r1, r2, 0);
240 TESTINST3("lsr r0, r1, r2", 0xffffffff, 31, r0, r1, r2, 0);
241 TESTINST3("lsr r0, r1, r2", 0xffffffff, 32, r0, r1, r2, 0);
242 TESTINST3("lsr r0, r1, r2", 0xffffffff, 33, r0, r1, r2, 0);
243 TESTINST3("lsr r0, r1, r2", 0xffffffff, 63, r0, r1, r2, 0);
244 TESTINST3("lsr r0, r1, r2", 0xffffffff, 64, r0, r1, r2, 0);
245 TESTINST3("lsr r0, r1, r2", 0xffffffff, 255, r0, r1, r2, 0);
246 TESTINST3("lsr r0, r1, r2", 0xffffffff, 256, r0, r1, r2, 0);
250 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 0, r0, r1, r2, c);
251 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 1, r0, r1, r2, c);
252 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 2, r0, r1, r2, c);
253 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 31, r0, r1, r2, c);
254 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 32, r0, r1, r2, c);
255 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 33, r0, r1, r2, c);
256 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 63, r0, r1, r2, c);
257 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 64, r0, r1, r2, c);
258 TESTINST3("lsrs r0, r1, r2", 0xffffffff, 255, r0, r1, r2, c);
283 TESTINST3("asr r0, r1, r2", 0xffffffff, 0, r0, r1, r2, c);
284 TESTINST3("asr r0, r1, r2", 0xffffffff, 1, r0, r1, r2, c);
285 TESTINST3("asr r0, r1, r2", 0xffffffff, 2, r0, r1, r2, c);
286 TESTINST3("asr r0, r1, r2", 0xffffffff, 31, r0, r1, r2, c);
287 TESTINST3("asr r0, r1, r2", 0xffffffff, 32, r0, r1, r2, c);
288 TESTINST3("asr r0, r1, r2", 0xffffffff, 33, r0, r1, r2, c);
289 TESTINST3("asr r0, r1, r2", 0xffffffff, 63, r0, r1, r2, c);
290 TESTINST3("asr r0, r1, r2", 0xffffffff, 64, r0, r1, r2, c);
291 TESTINST3("asr r0, r1, r2", 0xffffffff, 255, r0, r1, r2, c);
292 TESTINST3("asr r0, r1, r2", 0xffffffff, 256, r0, r1, r2, c);
293 TESTINST3("asr r0, r1, r2", 0x7fffffff, 0, r0, r1, r2, c);
294 TESTINST3("asr r0, r1, r2", 0x7fffffff, 1, r0, r1, r2, c);
295 TESTINST3("asr r0, r1, r2", 0x7fffffff, 2, r0, r1, r2, c);
296 TESTINST3("asr r0, r1, r2", 0x7fffffff, 31, r0, r1, r2, c);
297 TESTINST3("asr r0, r1, r2", 0x7fffffff, 32, r0, r1, r2, c);
298 TESTINST3("asr r0, r1, r2", 0x7fffffff, 33, r0, r1, r2, c);
299 TESTINST3("asr r0, r1, r2", 0x7fffffff, 63, r0, r1, r2, c);
300 TESTINST3("asr r0, r1, r2", 0x7fffffff, 64, r0, r1, r2, c);
301 TESTINST3("asr r0, r1, r2", 0x7fffffff, 255, r0, r1, r2, c);
302 TESTINST3("asr r0, r1, r2", 0x7fffffff, 256, r0, r1, r2, c);
307 TESTINST3("asrs r0, r1, r2", 0xffffffff, 0, r0, r1, r2, c);
308 TESTINST3("asrs r0, r1, r2", 0xffffffff, 1, r0, r1, r2, c);
309 TESTINST3("asrs r0, r1, r2", 0xffffffff, 2, r0, r1, r2, c);
310 TESTINST3("asrs r0, r1, r2", 0xffffffff, 31, r0, r1, r2, c);
311 TESTINST3("asrs r0, r1, r2", 0xffffffff, 32, r0, r1, r2, c);
312 TESTINST3("asrs r0, r1, r2", 0xffffffff, 33, r0, r1, r2, c);
313 TESTINST3("asrs r0, r1, r2", 0xffffffff, 63, r0, r1, r2, c);
314 TESTINST3("asrs r0, r1, r2", 0xffffffff, 64, r0, r1, r2, c);
315 TESTINST3("asrs r0, r1, r2", 0xffffffff, 255, r0, r1, r2, c);
316 TESTINST3("asrs r0, r1, r2", 0xffffffff, 256, r0, r1, r2, c);
317 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 0, r0, r1, r2, c);
318 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 1, r0, r1, r2, c);
319 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 2, r0, r1, r2, c);
320 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 31, r0, r1, r2, c);
321 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 32, r0, r1, r2, c);
322 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 33, r0, r1, r2, c);
323 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 63, r0, r1, r2, c);
324 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 64, r0, r1, r2, c);
325 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 255, r0, r1, r2, c);
326 TESTINST3("asrs r0, r1, r2", 0x7fffffff, 256, r0, r1, r2, c);
330 TESTINST3("asrs r0, r1, r2", 0x8, 0, r0, r1, r2, c);
331 TESTINST3("asrs r0, r1, r2", 0x8, 1, r0, r1, r2, c);
332 TESTINST3("asrs r0, r1, r2", 0x8, 2, r0, r1, r2, c);
333 TESTINST3("asrs r0, r1, r2", 0x8, 3, r0, r1, r2, c);
334 TESTINST3("asrs r0, r1, r2", 0x8, 4, r0, r1, r2, c);
335 TESTINST3("asrs r0, r1, r2", 0x8, 5, r0, r1, r2, c);
338 TESTINST3("asrs r0, r1, r2", 0x80000001, 1, r0, r1, r2, 0);
339 TESTINST3("asrs r0, r1, r2", 0x80000001, 2, r0, r1, r2, 0);
371 TESTINST3("ror r0, r1, r2", 0x00088000, 0, r0, r1, r2, c);
372 TESTINST3("ror r0, r1, r2", 0x80088000, 1, r0, r1, r2, c);
373 TESTINST3("ror r0, r1, r2", 0x00088000, 1, r0, r1, r2, c);
374 TESTINST3("ror r0, r1, r2", 0x00088000, 2, r0, r1, r2, c);
375 TESTINST3("ror r0, r1, r2", 0x00088000, 31, r0, r1, r2, c);
376 TESTINST3("ror r0, r1, r2", 0x00088000, 32, r0, r1, r2, c);
377 TESTINST3("ror r0, r1, r2", 0x00088000, 33, r0, r1, r2, c);
378 TESTINST3("ror r0, r1, r2", 0x00088000, 63, r0, r1, r2, c);
379 TESTINST3("ror r0, r1, r2", 0x00088000, 64, r0, r1, r2, c);
380 TESTINST3("ror r0, r1, r2", 0x00088000, 255, r0, r1, r2, c);
381 TESTINST3("ror r0, r1, r2", 0x00088000, 256, r0, r1, r2, c);
382 TESTINST3("ror r0, r1, r2", 0x80088000, 256, r0, r1, r2, c);
383 TESTINST3("ror r0, r1, r2", 0x00088000, 257, r0, r1, r2, c);
388 TESTINST3("rors r0, r1, r2", 0x00088000, 0, r0, r1, r2, c);
389 TESTINST3("rors r0, r1, r2", 0x80088000, 0, r0, r1, r2, c);
390 TESTINST3("rors r0, r1, r2", 0x00088000, 1, r0, r1, r2, c);
391 TESTINST3("rors r0, r1, r2", 0x00088000, 2, r0, r1, r2, c);
392 TESTINST3("rors r0, r1, r2", 0x00088000, 31, r0, r1, r2, c);
393 TESTINST3("rors r0, r1, r2", 0x00088000, 32, r0, r1, r2, c);
394 TESTINST3("rors r0, r1, r2", 0x00088000, 33, r0, r1, r2, c);
395 TESTINST3("rors r0, r1, r2", 0x00088000, 63, r0, r1, r2, c);
396 TESTINST3("rors r0, r1, r2", 0x00088000, 64, r0, r1, r2, c);
397 TESTINST3("rors r0, r1, r2", 0x00088000, 255, r0, r1, r2, c);
398 TESTINST3("rors r0, r1, r2", 0x00088000, 256, r0, r1, r2, c);
399 TESTINST3("rors r0, r1, r2", 0x80088000, 256, r0, r1, r2, c);
400 TESTINST3("rors r0, r1, r2", 0x00088000, 257, r0, r1, r2, c);
500 TESTINST3("mul r0, r1, r2", 0, 0, r0, r1, r2, 0);
501 TESTINST3("mul r0, r1, r2", 0xffffffff, 0, r0, r1, r2, 0);
502 TESTINST3("mul r0, r1, r2", 0, 0xffffffff, r0, r1, r2, 0);
503 TESTINST3("mul r0, r1, r2", 0xffffffff, 0xffffffff, r0, r1, r2, 0);
504 TESTINST3("mul r0, r1, r2", 0x7fffffff, 0x7fffffff, r0, r1, r2, 0);
505 TESTINST3("mul r0, r1, r2", 0x0000ffff, 0x0000ffff, r0, r1, r2, 0);
508 TESTINST3("muls r0, r1, r2", 0, 0, r0, r1, r2, 0);
509 TESTINST3("muls r0, r1, r2", 0xffffffff, 0, r0, r1, r2, 0);
510 TESTINST3("muls r0, r1, r2", 0, 0xffffffff, r0, r1, r2, 0);
511 TESTINST3("muls r0, r1, r2", 0xffffffff, 0xffffffff, r0, r1, r2, 0);
512 TESTINST3("muls r0, r1, r2", 0x7fffffff, 0x7fffffff, r0, r1, r2, 0);
513 TESTINST3("muls r0, r1, r2", 0x0000ffff, 0x0000ffff, r0, r1, r2, 0);
740 TESTINST3("smulbb r0, r1, r2", 0x00030000, 0x00040000, r0, r1, r2, 0);
741 TESTINST3("smulbb r0, r1, r2", 0x00030001, 0x00040002, r0, r1, r2, 0);
742 TESTINST3("smulbb r0, r1, r2", 0x00038001, 0x00047fff, r0, r1, r2, 0);
743 TESTINST3("smulbb r0, r1, r2", 0x00037fff, 0x00047fff, r0, r1, r2, 0);
744 TESTINST3("smulbb r0, r1, r2", 0x0003ffff, 0x0004ffff, r0, r1, r2, 0);
747 TESTINST3("sxtab r0, r1, r2, ROR #24", 0x31415927, 0x27182819,
749 TESTINST3("sxtab r0, r1, r2, ROR #16", 0x31415927, 0x27182819,
751 TESTINST3("sxtab r0, r1, r2, ROR #8", 0x31415927, 0x27182819,
753 TESTINST3("sxtab r0, r1, r2, ROR #0", 0x31415927, 0x27182819,
756 TESTINST3("sxtab r0, r1, r2, ROR #24", 0x31415927, 0x27182899,
758 TESTINST3("sxtab r0, r1, r2, ROR #16", 0x31415927, 0x27182899,
760 TESTINST3("sxtab r0, r1, r2, ROR #8", 0x31415927, 0x27182899,
762 TESTINST3("sxtab r0, r1, r2, ROR #0", 0x31415927, 0x27182899,
766 TESTINST3("uxtab r0, r1, r2, ROR #24", 0x31415927, 0x27182819,
768 TESTINST3("uxtab r0, r1, r2, ROR #16", 0x31415927, 0x27182819,
770 TESTINST3("uxtab r0, r1, r2, ROR #8", 0x31415927, 0x27182819,
772 TESTINST3("uxtab r0, r1, r2, ROR #0", 0x31415927, 0x27182819,
775 TESTINST3("uxtab r0, r1, r2, ROR #24", 0x31415927, 0x27182899,
777 TESTINST3("uxtab r0, r1, r2, ROR #16", 0x31415927, 0x27182899,
779 TESTINST3("uxtab r0, r1, r2, ROR #8", 0x31415927, 0x27182899,
781 TESTINST3("uxtab r0, r1, r2, ROR #0", 0x31415927, 0x27182899,
785 TESTINST3("sxtah r0, r1, r2, ROR #24", 0x31415927, 0x27182819,
787 TESTINST3("sxtah r0, r1, r2, ROR #16", 0x31415927, 0x27182819,
789 TESTINST3("sxtah r0, r1, r2, ROR #8 ", 0x31415927, 0x27182819,
791 TESTINST3("sxtah r0, r1, r2, ROR #0 ", 0x31415927, 0x27182819,
794 TESTINST3("sxtah r0, r1, r2, ROR #24", 0x31415927, 0x27189819,
796 TESTINST3("sxtah r0, r1, r2, ROR #16", 0x31415927, 0x27189819,
798 TESTINST3("sxtah r0, r1, r2, ROR #8 ", 0x31415927, 0x27189819,
800 TESTINST3("sxtah r0, r1, r2, ROR #0 ", 0x31415927, 0x27189819,
804 TESTINST3("uxtah r0, r1, r2, ROR #24", 0x31415927, 0x27182819,
806 TESTINST3("uxtah r0, r1, r2, ROR #16", 0x31415927, 0x27182819,
808 TESTINST3("uxtah r0, r1, r2, ROR #8 ", 0x31415927, 0x27182819,
810 TESTINST3("uxtah r0, r1, r2, ROR #0 ", 0x31415927, 0x27182819,
813 TESTINST3("uxtah r0, r1, r2, ROR #24", 0x31415927, 0x27189819,
815 TESTINST3("uxtah r0, r1, r2, ROR #16", 0x31415927, 0x27189819,
817 TESTINST3("uxtah r0, r1, r2, ROR #8 ", 0x31415927, 0x27189819,
819 TESTINST3("uxtah r0, r1, r2, ROR #0 ", 0x31415927, 0x27189819,