Lines Matching refs:TESTINST2

9 #define TESTINST2(instruction, RMval, RD, RM, carryin) \
144 TESTINST2("mov r0, r1", 1, r0, r1, 0);
145 TESTINST2("cpy r0, r1", 1, r0, r1, 0);
146 TESTINST2("mov r0, #0", 0, r0, r1, 0);
147 TESTINST2("mov r0, #1", 0, r0, r1, 0);
149 TESTINST2("movs r0, r1", 1, r0, r1, c);
150 TESTINST2("movs r0, r1", 0, r0, r1, c);
151 TESTINST2("movs r0, r1", 0x80000000, r0, r1, c);
152 TESTINST2("movs r0, #0", 0, r0, r1, c);
153 TESTINST2("movs r0, #1", 0, r0, r1, c);
157 TESTINST2("mvn r0, r1", 1, r0, r1, 0);
159 TESTINST2("mvns r0, r1", 1, r0, r1, c);
160 TESTINST2("mvns r0, r1", 0, r0, r1, c);
161 TESTINST2("mvns r0, r1", 0x80000000, r0, r1, c);
216 TESTINST2("lsl r0, r1, #0", 0xffffffff, r0, r1, c);
217 TESTINST2("lsl r0, r1, #1", 0xffffffff, r0, r1, c);
218 TESTINST2("lsl r0, r1, #31", 0xffffffff, r0, r1, c);
219 TESTINST2("lsl r0, r1, #0", 0x1, r0, r1, c);
220 TESTINST2("lsl r0, r1, #1", 0x1, r0, r1, c);
221 TESTINST2("lsl r0, r1, #31", 0x1, r0, r1, c);
222 TESTINST2("lsl r0, r1, #31", 0x2, r0, r1, c);
227 TESTINST2("lsls r0, r1, #0", 0xffffffff, r0, r1, c);
228 TESTINST2("lsls r0, r1, #1", 0xffffffff, r0, r1, c);
229 TESTINST2("lsls r0, r1, #31", 0xffffffff, r0, r1, c);
230 TESTINST2("lsls r0, r1, #0", 0x1, r0, r1, c);
231 TESTINST2("lsls r0, r1, #1", 0x1, r0, r1, c);
232 TESTINST2("lsls r0, r1, #31", 0x1, r0, r1, c);
233 TESTINST2("lsls r0, r1, #31", 0x2, r0, r1, c);
262 TESTINST2("lsr r0, r1, #0", 0xffffffff, r0, r1, 0);
263 TESTINST2("lsr r0, r1, #1", 0xffffffff, r0, r1, 0);
264 TESTINST2("lsr r0, r1, #31", 0xffffffff, r0, r1, 0);
265 TESTINST2("lsr r0, r1, #32", 0xffffffff, r0, r1, 0);
266 TESTINST2("lsr r0, r1, #16", 0x00010000, r0, r1, 0);
267 TESTINST2("lsr r0, r1, #17", 0x00010000, r0, r1, 0);
268 TESTINST2("lsr r0, r1, #18", 0x00010000, r0, r1, 0);
272 TESTINST2("lsrs r0, r1, #0", 0xffffffff, r0, r1, c);
273 TESTINST2("lsrs r0, r1, #1", 0xffffffff, r0, r1, c);
274 TESTINST2("lsrs r0, r1, #31", 0xffffffff, r0, r1, c);
275 TESTINST2("lsrs r0, r1, #32", 0xffffffff, r0, r1, c);
276 TESTINST2("lsrs r0, r1, #16", 0x00010000, r0, r1, c);
277 TESTINST2("lsrs r0, r1, #17", 0x00010000, r0, r1, c);
278 TESTINST2("lsrs r0, r1, #18", 0x00010000, r0, r1, c);
342 TESTINST2("asr r0, r1, #0", 0xffffffff, r0, r1, 0);
343 TESTINST2("asr r0, r1, #1", 0xffffffff, r0, r1, 0);
344 TESTINST2("asr r0, r1, #31", 0xffffffff, r0, r1, 0);
345 TESTINST2("asr r0, r1, #32", 0xffffffff, r0, r1, 0);
346 TESTINST2("asr r0, r1, #0", 0x7fffffff, r0, r1, 0);
347 TESTINST2("asr r0, r1, #1", 0x7fffffff, r0, r1, 0);
348 TESTINST2("asr r0, r1, #31", 0x7fffffff, r0, r1, 0);
349 TESTINST2("asr r0, r1, #32", 0x7fffffff, r0, r1, 0);
350 TESTINST2("asr r0, r1, #16", 0x00010000, r0, r1, 0);
351 TESTINST2("asr r0, r1, #17", 0x00010000, r0, r1, 0);
352 TESTINST2("asr r0, r1, #18", 0x00010000, r0, r1, 0);
356 TESTINST2("asrs r0, r1, #0", 0xffffffff, r0, r1, c);
357 TESTINST2("asrs r0, r1, #1", 0xffffffff, r0, r1, c);
358 TESTINST2("asrs r0, r1, #31", 0xffffffff, r0, r1, c);
359 TESTINST2("asrs r0, r1, #32", 0xffffffff, r0, r1, c);
360 TESTINST2("asrs r0, r1, #0", 0x7fffffff, r0, r1, c);
361 TESTINST2("asrs r0, r1, #1", 0x7fffffff, r0, r1, c);
362 TESTINST2("asrs r0, r1, #31", 0x7fffffff, r0, r1, c);
363 TESTINST2("asrs r0, r1, #32", 0x7fffffff, r0, r1, c);
364 TESTINST2("asrs r0, r1, #16", 0x00010000, r0, r1, c);
365 TESTINST2("asrs r0, r1, #17", 0x00010000, r0, r1, c);
366 TESTINST2("asrs r0, r1, #18", 0x00010000, r0, r1, c);
405 TESTINST2("ror r0, r1, #0", 0x00088000, r0, r1, c);
406 TESTINST2("ror r0, r1, #1", 0x00088000, r0, r1, c);
407 TESTINST2("ror r0, r1, #31", 0x00088000, r0, r1, c);
408 TESTINST2("ror r0, r1, #16", 0x00010000, r0, r1, c);
409 TESTINST2("ror r0, r1, #17", 0x00010000, r0, r1, c);
410 TESTINST2("ror r0, r1, #18", 0x00010000, r0, r1, c);
415 TESTINST2("rors r0, r1, #0", 0x00088000, r0, r1, c);
416 TESTINST2("rors r0, r1, #1", 0x00088000, r0, r1, c);
417 TESTINST2("rors r0, r1, #31", 0x00088000, r0, r1, c);
418 TESTINST2("rors r0, r1, #16", 0x00010000, r0, r1, c);
419 TESTINST2("rors r0, r1, #17", 0x00010000, r0, r1, c);
420 TESTINST2("rors r0, r1, #18", 0x00010000, r0, r1, c);
609 TESTINST2("clz r0, r1", 0, r0, r1, c);
610 TESTINST2("clz r0, r1", 1, r0, r1, c);
611 TESTINST2("clz r0, r1", 0x10, r0, r1, c);
612 TESTINST2("clz r0, r1", 0xffffffff, r0, r1, c);
616 TESTINST2("uxtb r0, r1", 0, r0, r1, 0);
617 TESTINST2("uxtb r0, r1", 1, r0, r1, 0);
618 TESTINST2("uxtb r0, r1", 0xff, r0, r1, 0);
619 TESTINST2("uxtb r0, r1", 0xffffffff, r0, r1, 0);
620 TESTINST2("sxtb r0, r1", 0, r0, r1, 0);
621 TESTINST2("sxtb r0, r1", 1, r0, r1, 0);
622 TESTINST2("sxtb r0, r1", 0xff, r0, r1, 0);
623 TESTINST2("sxtb r0, r1", 0xffffffff, r0, r1, 0);
625 TESTINST2("uxth r0, r1", 0, r0, r1, 0);
626 TESTINST2("uxth r0, r1", 1, r0, r1, 0);
627 TESTINST2("uxth r0, r1", 0xffff, r0, r1, 0);
628 TESTINST2("uxth r0, r1", 0xffffffff, r0, r1, 0);
629 TESTINST2("sxth r0, r1", 0, r0, r1, 0);
630 TESTINST2("sxth r0, r1", 1, r0, r1, 0);
631 TESTINST2("sxth r0, r1", 0x7fff, r0, r1, 0);
632 TESTINST2("sxth r0, r1", 0xffff, r0, r1, 0);
633 TESTINST2("sxth r0, r1", 0x10ffff, r0, r1, 0);
634 TESTINST2("sxth r0, r1", 0x107fff, r0, r1, 0);
635 TESTINST2("sxth r0, r1", 0xffffffff, r0, r1, 0);
637 TESTINST2("uxtb r0, r1, ror #0", 0x000000ff, r0, r1, 0);
638 TESTINST2("uxtb r0, r1, ror #8", 0x000000ff, r0, r1, 0);
639 TESTINST2("uxtb r0, r1, ror #8", 0x0000ff00, r0, r1, 0);
640 TESTINST2("uxtb r0, r1, ror #16", 0x00ff0000, r0, r1, 0);
641 TESTINST2("uxtb r0, r1, ror #24", 0xff000000, r0, r1, 0);
643 TESTINST2("uxtb16 r0, r1", 0xffffffff, r0, r1, 0);
644 TESTINST2("uxtb16 r0, r1, ror #16", 0x0000ffff, r0, r1, 0);
645 TESTINST2("sxtb16 r0, r1", 0xffffffff, r0, r1, 0);
646 TESTINST2("sxtb16 r0, r1", 0x00ff00ff, r0, r1, 0);
647 TESTINST2("sxtb16 r0, r1", 0x007f007f, r0, r1, 0);
652 TESTINST2("bfi r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
653 TESTINST2("bfi r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
654 TESTINST2("bfi r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
656 TESTINST2("bfi r0, r1, #19, #11", 0xFFFFFFFF, r0, r1, 0);
657 TESTINST2("bfi r0, r1, #20, #11", 0xFFFFFFFF, r0, r1, 0);
658 TESTINST2("bfi r0, r1, #21, #11", 0xFFFFFFFF, r0, r1, 0);
660 TESTINST2("bfi r0, r1, #0, #32", 0xFFFFFFFF, r0, r1, 0);
661 TESTINST2("bfi r0, r1, #1, #31", 0xFFFFFFFF, r0, r1, 0);
663 TESTINST2("bfi r0, r1, #29, #3", 0xFFFFFFFF, r0, r1, 0);
664 TESTINST2("bfi r0, r1, #30, #2", 0xFFFFFFFF, r0, r1, 0);
665 TESTINST2("bfi r0, r1, #31, #1", 0xFFFFFFFF, r0, r1, 0);
670 TESTINST2("bfc r0, #0, #11", 0xAAAAAAAA, r0, r1, 0);
671 TESTINST2("bfc r0, #1, #11", 0xAAAAAAAA, r0, r1, 0);
672 TESTINST2("bfc r0, #2, #11", 0xAAAAAAAA, r0, r1, 0);
674 TESTINST2("bfc r0, #19, #11", 0xFFFFFFFF, r0, r1, 0);
675 TESTINST2("bfc r0, #20, #11", 0xFFFFFFFF, r0, r1, 0);
676 TESTINST2("bfc r0, #21, #11", 0xFFFFFFFF, r0, r1, 0);
678 TESTINST2("bfc r0, #0, #32", 0xFFFFFFFF, r0, r1, 0);
679 TESTINST2("bfc r0, #1, #31", 0xFFFFFFFF, r0, r1, 0);
681 TESTINST2("bfc r0, #29, #3", 0xFFFFFFFF, r0, r1, 0);
682 TESTINST2("bfc r0, #30, #2", 0xFFFFFFFF, r0, r1, 0);
683 TESTINST2("bfc r0, #31, #1", 0xFFFFFFFF, r0, r1, 0);
688 TESTINST2("sbfx r0, r1, #0, #1", 0x00000000, r0, r1, 0);
689 TESTINST2("sbfx r0, r1, #0, #1", 0x00000001, r0, r1, 0);
690 TESTINST2("sbfx r0, r1, #1, #1", 0x00000000, r0, r1, 0);
691 TESTINST2("sbfx r0, r1, #1, #1", 0x00000001, r0, r1, 0);
692 TESTINST2("sbfx r0, r1, #1, #1", 0x00000002, r0, r1, 0);
693 TESTINST2("sbfx r0, r1, #1, #1", 0x00000003, r0, r1, 0);
695 TESTINST2("sbfx r0, r1, #0, #2", 0x00000000, r0, r1, 0);
696 TESTINST2("sbfx r0, r1, #0, #2", 0x00000001, r0, r1, 0);
697 TESTINST2("sbfx r0, r1, #1, #2", 0x00000000, r0, r1, 0);
698 TESTINST2("sbfx r0, r1, #1, #2", 0x00000001, r0, r1, 0);
699 TESTINST2("sbfx r0, r1, #1, #2", 0x00000002, r0, r1, 0);
700 TESTINST2("sbfx r0, r1, #1, #2", 0x00000003, r0, r1, 0);
702 TESTINST2("sbfx r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
703 TESTINST2("sbfx r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
704 TESTINST2("sbfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
706 TESTINST2("sbfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
708 TESTINST2("sbfx r0, r1, #31, #1", 0xAAAAAAAA, r0, r1, 0);
709 TESTINST2("sbfx r0, r1, #30, #2", 0xAAAAAAAA, r0, r1, 0);
714 TESTINST2("ubfx r0, r1, #0, #1", 0x00000000, r0, r1, 0);
715 TESTINST2("ubfx r0, r1, #0, #1", 0x00000001, r0, r1, 0);
716 TESTINST2("ubfx r0, r1, #1, #1", 0x00000000, r0, r1, 0);
717 TESTINST2("ubfx r0, r1, #1, #1", 0x00000001, r0, r1, 0);
718 TESTINST2("ubfx r0, r1, #1, #1", 0x00000002, r0, r1, 0);
719 TESTINST2("ubfx r0, r1, #1, #1", 0x00000003, r0, r1, 0);
721 TESTINST2("ubfx r0, r1, #0, #2", 0x00000000, r0, r1, 0);
722 TESTINST2("ubfx r0, r1, #0, #2", 0x00000001, r0, r1, 0);
723 TESTINST2("ubfx r0, r1, #1, #2", 0x00000000, r0, r1, 0);
724 TESTINST2("ubfx r0, r1, #1, #2", 0x00000001, r0, r1, 0);
725 TESTINST2("ubfx r0, r1, #1, #2", 0x00000002, r0, r1, 0);
726 TESTINST2("ubfx r0, r1, #1, #2", 0x00000003, r0, r1, 0);
728 TESTINST2("ubfx r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
729 TESTINST2("ubfx r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
730 TESTINST2("ubfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
732 TESTINST2("ubfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
734 TESTINST2("ubfx r0, r1, #31, #1", 0xAAAAAAAA, r0, r1, 0);
735 TESTINST2("ubfx r0, r1, #30, #2", 0xAAAAAAAA, r0, r1, 0);
859 #define TESTINST2(instruction, RMval, RD, RM, carryin) \
994 TESTINST2("mov r0, r1", 1, r0, r1, 0);
995 TESTINST2("cpy r0, r1", 1, r0, r1, 0);
996 TESTINST2("mov r0, #0", 0, r0, r1, 0);
997 TESTINST2("mov r0, #1", 0, r0, r1, 0);
999 TESTINST2("movs r0, r1", 1, r0, r1, c);
1000 TESTINST2("movs r0, r1", 0, r0, r1, c);
1001 TESTINST2("movs r0, r1", 0x80000000, r0, r1, c);
1002 TESTINST2("movs r0, #0", 0, r0, r1, c);
1003 TESTINST2("movs r0, #1", 0, r0, r1, c);
1007 TESTINST2("mvn r0, r1", 1, r0, r1, 0);
1009 TESTINST2("mvns r0, r1", 1, r0, r1, c);
1010 TESTINST2("mvns r0, r1", 0, r0, r1, c);
1011 TESTINST2("mvns r0, r1", 0x80000000, r0, r1, c);
1066 TESTINST2("lsl r0, r1, #0", 0xffffffff, r0, r1, c);
1067 TESTINST2("lsl r0, r1, #1", 0xffffffff, r0, r1, c);
1068 TESTINST2("lsl r0, r1, #31", 0xffffffff, r0, r1, c);
1069 TESTINST2("lsl r0, r1, #0", 0x1, r0, r1, c);
1070 TESTINST2("lsl r0, r1, #1", 0x1, r0, r1, c);
1071 TESTINST2("lsl r0, r1, #31", 0x1, r0, r1, c);
1072 TESTINST2("lsl r0, r1, #31", 0x2, r0, r1, c);
1077 TESTINST2("lsls r0, r1, #0", 0xffffffff, r0, r1, c);
1078 TESTINST2("lsls r0, r1, #1", 0xffffffff, r0, r1, c);
1079 TESTINST2("lsls r0, r1, #31", 0xffffffff, r0, r1, c);
1080 TESTINST2("lsls r0, r1, #0", 0x1, r0, r1, c);
1081 TESTINST2("lsls r0, r1, #1", 0x1, r0, r1, c);
1082 TESTINST2("lsls r0, r1, #31", 0x1, r0, r1, c);
1083 TESTINST2("lsls r0, r1, #31", 0x2, r0, r1, c);
1112 TESTINST2("lsr r0, r1, #0", 0xffffffff, r0, r1, 0);
1113 TESTINST2("lsr r0, r1, #1", 0xffffffff, r0, r1, 0);
1114 TESTINST2("lsr r0, r1, #31", 0xffffffff, r0, r1, 0);
1115 TESTINST2("lsr r0, r1, #32", 0xffffffff, r0, r1, 0);
1116 TESTINST2("lsr r0, r1, #16", 0x00010000, r0, r1, 0);
1117 TESTINST2("lsr r0, r1, #17", 0x00010000, r0, r1, 0);
1118 TESTINST2("lsr r0, r1, #18", 0x00010000, r0, r1, 0);
1122 TESTINST2("lsrs r0, r1, #0", 0xffffffff, r0, r1, c);
1123 TESTINST2("lsrs r0, r1, #1", 0xffffffff, r0, r1, c);
1124 TESTINST2("lsrs r0, r1, #31", 0xffffffff, r0, r1, c);
1125 TESTINST2("lsrs r0, r1, #32", 0xffffffff, r0, r1, c);
1126 TESTINST2("lsrs r0, r1, #16", 0x00010000, r0, r1, c);
1127 TESTINST2("lsrs r0, r1, #17", 0x00010000, r0, r1, c);
1128 TESTINST2("lsrs r0, r1, #18", 0x00010000, r0, r1, c);
1192 TESTINST2("asr r0, r1, #0", 0xffffffff, r0, r1, 0);
1193 TESTINST2("asr r0, r1, #1", 0xffffffff, r0, r1, 0);
1194 TESTINST2("asr r0, r1, #31", 0xffffffff, r0, r1, 0);
1195 TESTINST2("asr r0, r1, #32", 0xffffffff, r0, r1, 0);
1196 TESTINST2("asr r0, r1, #0", 0x7fffffff, r0, r1, 0);
1197 TESTINST2("asr r0, r1, #1", 0x7fffffff, r0, r1, 0);
1198 TESTINST2("asr r0, r1, #31", 0x7fffffff, r0, r1, 0);
1199 TESTINST2("asr r0, r1, #32", 0x7fffffff, r0, r1, 0);
1200 TESTINST2("asr r0, r1, #16", 0x00010000, r0, r1, 0);
1201 TESTINST2("asr r0, r1, #17", 0x00010000, r0, r1, 0);
1202 TESTINST2("asr r0, r1, #18", 0x00010000, r0, r1, 0);
1206 TESTINST2("asrs r0, r1, #0", 0xffffffff, r0, r1, c);
1207 TESTINST2("asrs r0, r1, #1", 0xffffffff, r0, r1, c);
1208 TESTINST2("asrs r0, r1, #31", 0xffffffff, r0, r1, c);
1209 TESTINST2("asrs r0, r1, #32", 0xffffffff, r0, r1, c);
1210 TESTINST2("asrs r0, r1, #0", 0x7fffffff, r0, r1, c);
1211 TESTINST2("asrs r0, r1, #1", 0x7fffffff, r0, r1, c);
1212 TESTINST2("asrs r0, r1, #31", 0x7fffffff, r0, r1, c);
1213 TESTINST2("asrs r0, r1, #32", 0x7fffffff, r0, r1, c);
1214 TESTINST2("asrs r0, r1, #16", 0x00010000, r0, r1, c);
1215 TESTINST2("asrs r0, r1, #17", 0x00010000, r0, r1, c);
1216 TESTINST2("asrs r0, r1, #18", 0x00010000, r0, r1, c);
1255 TESTINST2("ror r0, r1, #0", 0x00088000, r0, r1, c);
1256 TESTINST2("ror r0, r1, #1", 0x00088000, r0, r1, c);
1257 TESTINST2("ror r0, r1, #31", 0x00088000, r0, r1, c);
1258 TESTINST2("ror r0, r1, #16", 0x00010000, r0, r1, c);
1259 TESTINST2("ror r0, r1, #17", 0x00010000, r0, r1, c);
1260 TESTINST2("ror r0, r1, #18", 0x00010000, r0, r1, c);
1265 TESTINST2("rors r0, r1, #0", 0x00088000, r0, r1, c);
1266 TESTINST2("rors r0, r1, #1", 0x00088000, r0, r1, c);
1267 TESTINST2("rors r0, r1, #31", 0x00088000, r0, r1, c);
1268 TESTINST2("rors r0, r1, #16", 0x00010000, r0, r1, c);
1269 TESTINST2("rors r0, r1, #17", 0x00010000, r0, r1, c);
1270 TESTINST2("rors r0, r1, #18", 0x00010000, r0, r1, c);
1459 TESTINST2("clz r0, r1", 0, r0, r1, c);
1460 TESTINST2("clz r0, r1", 1, r0, r1, c);
1461 TESTINST2("clz r0, r1", 0x10, r0, r1, c);
1462 TESTINST2("clz r0, r1", 0xffffffff, r0, r1, c);
1466 TESTINST2("uxtb r0, r1", 0, r0, r1, 0);
1467 TESTINST2("uxtb r0, r1", 1, r0, r1, 0);
1468 TESTINST2("uxtb r0, r1", 0xff, r0, r1, 0);
1469 TESTINST2("uxtb r0, r1", 0xffffffff, r0, r1, 0);
1470 TESTINST2("sxtb r0, r1", 0, r0, r1, 0);
1471 TESTINST2("sxtb r0, r1", 1, r0, r1, 0);
1472 TESTINST2("sxtb r0, r1", 0xff, r0, r1, 0);
1473 TESTINST2("sxtb r0, r1", 0xffffffff, r0, r1, 0);
1475 TESTINST2("uxth r0, r1", 0, r0, r1, 0);
1476 TESTINST2("uxth r0, r1", 1, r0, r1, 0);
1477 TESTINST2("uxth r0, r1", 0xffff, r0, r1, 0);
1478 TESTINST2("uxth r0, r1", 0xffffffff, r0, r1, 0);
1479 TESTINST2("sxth r0, r1", 0, r0, r1, 0);
1480 TESTINST2("sxth r0, r1", 1, r0, r1, 0);
1481 TESTINST2("sxth r0, r1", 0x7fff, r0, r1, 0);
1482 TESTINST2("sxth r0, r1", 0xffff, r0, r1, 0);
1483 TESTINST2("sxth r0, r1", 0x10ffff, r0, r1, 0);
1484 TESTINST2("sxth r0, r1", 0x107fff, r0, r1, 0);
1485 TESTINST2("sxth r0, r1", 0xffffffff, r0, r1, 0);
1487 TESTINST2("uxtb r0, r1, ror #0", 0x000000ff, r0, r1, 0);
1488 TESTINST2("uxtb r0, r1, ror #8", 0x000000ff, r0, r1, 0);
1489 TESTINST2("uxtb r0, r1, ror #8", 0x0000ff00, r0, r1, 0);
1490 TESTINST2("uxtb r0, r1, ror #16", 0x00ff0000, r0, r1, 0);
1491 TESTINST2("uxtb r0, r1, ror #24", 0xff000000, r0, r1, 0);
1493 TESTINST2("uxtb16 r0, r1", 0xffffffff, r0, r1, 0);
1494 TESTINST2("uxtb16 r0, r1, ror #16", 0x0000ffff, r0, r1, 0);
1495 TESTINST2("sxtb16 r0, r1", 0xffffffff, r0, r1, 0);
1496 TESTINST2("sxtb16 r0, r1", 0x00ff00ff, r0, r1, 0);
1497 TESTINST2("sxtb16 r0, r1", 0x007f007f, r0, r1, 0);
1502 TESTINST2("bfi r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
1503 TESTINST2("bfi r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
1504 TESTINST2("bfi r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1506 TESTINST2("bfi r0, r1, #19, #11", 0xFFFFFFFF, r0, r1, 0);
1507 TESTINST2("bfi r0, r1, #20, #11", 0xFFFFFFFF, r0, r1, 0);
1508 TESTINST2("bfi r0, r1, #21, #11", 0xFFFFFFFF, r0, r1, 0);
1510 TESTINST2("bfi r0, r1, #0, #32", 0xFFFFFFFF, r0, r1, 0);
1511 TESTINST2("bfi r0, r1, #1, #31", 0xFFFFFFFF, r0, r1, 0);
1513 TESTINST2("bfi r0, r1, #29, #3", 0xFFFFFFFF, r0, r1, 0);
1514 TESTINST2("bfi r0, r1, #30, #2", 0xFFFFFFFF, r0, r1, 0);
1515 TESTINST2("bfi r0, r1, #31, #1", 0xFFFFFFFF, r0, r1, 0);
1520 TESTINST2("bfc r0, #0, #11", 0xAAAAAAAA, r0, r1, 0);
1521 TESTINST2("bfc r0, #1, #11", 0xAAAAAAAA, r0, r1, 0);
1522 TESTINST2("bfc r0, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1524 TESTINST2("bfc r0, #19, #11", 0xFFFFFFFF, r0, r1, 0);
1525 TESTINST2("bfc r0, #20, #11", 0xFFFFFFFF, r0, r1, 0);
1526 TESTINST2("bfc r0, #21, #11", 0xFFFFFFFF, r0, r1, 0);
1528 TESTINST2("bfc r0, #0, #32", 0xFFFFFFFF, r0, r1, 0);
1529 TESTINST2("bfc r0, #1, #31", 0xFFFFFFFF, r0, r1, 0);
1531 TESTINST2("bfc r0, #29, #3", 0xFFFFFFFF, r0, r1, 0);
1532 TESTINST2("bfc r0, #30, #2", 0xFFFFFFFF, r0, r1, 0);
1533 TESTINST2("bfc r0, #31, #1", 0xFFFFFFFF, r0, r1, 0);
1538 TESTINST2("sbfx r0, r1, #0, #1", 0x00000000, r0, r1, 0);
1539 TESTINST2("sbfx r0, r1, #0, #1", 0x00000001, r0, r1, 0);
1540 TESTINST2("sbfx r0, r1, #1, #1", 0x00000000, r0, r1, 0);
1541 TESTINST2("sbfx r0, r1, #1, #1", 0x00000001, r0, r1, 0);
1542 TESTINST2("sbfx r0, r1, #1, #1", 0x00000002, r0, r1, 0);
1543 TESTINST2("sbfx r0, r1, #1, #1", 0x00000003, r0, r1, 0);
1545 TESTINST2("sbfx r0, r1, #0, #2", 0x00000000, r0, r1, 0);
1546 TESTINST2("sbfx r0, r1, #0, #2", 0x00000001, r0, r1, 0);
1547 TESTINST2("sbfx r0, r1, #1, #2", 0x00000000, r0, r1, 0);
1548 TESTINST2("sbfx r0, r1, #1, #2", 0x00000001, r0, r1, 0);
1549 TESTINST2("sbfx r0, r1, #1, #2", 0x00000002, r0, r1, 0);
1550 TESTINST2("sbfx r0, r1, #1, #2", 0x00000003, r0, r1, 0);
1552 TESTINST2("sbfx r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
1553 TESTINST2("sbfx r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
1554 TESTINST2("sbfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1556 TESTINST2("sbfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1558 TESTINST2("sbfx r0, r1, #31, #1", 0xAAAAAAAA, r0, r1, 0);
1559 TESTINST2("sbfx r0, r1, #30, #2", 0xAAAAAAAA, r0, r1, 0);
1564 TESTINST2("ubfx r0, r1, #0, #1", 0x00000000, r0, r1, 0);
1565 TESTINST2("ubfx r0, r1, #0, #1", 0x00000001, r0, r1, 0);
1566 TESTINST2("ubfx r0, r1, #1, #1", 0x00000000, r0, r1, 0);
1567 TESTINST2("ubfx r0, r1, #1, #1", 0x00000001, r0, r1, 0);
1568 TESTINST2("ubfx r0, r1, #1, #1", 0x00000002, r0, r1, 0);
1569 TESTINST2("ubfx r0, r1, #1, #1", 0x00000003, r0, r1, 0);
1571 TESTINST2("ubfx r0, r1, #0, #2", 0x00000000, r0, r1, 0);
1572 TESTINST2("ubfx r0, r1, #0, #2", 0x00000001, r0, r1, 0);
1573 TESTINST2("ubfx r0, r1, #1, #2", 0x00000000, r0, r1, 0);
1574 TESTINST2("ubfx r0, r1, #1, #2", 0x00000001, r0, r1, 0);
1575 TESTINST2("ubfx r0, r1, #1, #2", 0x00000002, r0, r1, 0);
1576 TESTINST2("ubfx r0, r1, #1, #2", 0x00000003, r0, r1, 0);
1578 TESTINST2("ubfx r0, r1, #0, #11", 0xAAAAAAAA, r0, r1, 0);
1579 TESTINST2("ubfx r0, r1, #1, #11", 0xAAAAAAAA, r0, r1, 0);
1580 TESTINST2("ubfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1582 TESTINST2("ubfx r0, r1, #2, #11", 0xAAAAAAAA, r0, r1, 0);
1584 TESTINST2("ubfx r0, r1, #31, #1", 0xAAAAAAAA, r0, r1, 0);
1585 TESTINST2("ubfx r0, r1, #30, #2", 0xAAAAAAAA, r0, r1, 0);
1699 TESTINST2("rbit r0, r1", 0x00000000, r0, r1, 0);
1700 TESTINST2("rbit r0, r1", 0xFFFFFFFF, r0, r1, 0);
1701 TESTINST2("rbit r0, r1", 0x80000000, r0, r1, 0);
1702 TESTINST2("rbit r0, r1", 0x00000001, r0, r1, 0);
1703 TESTINST2("rbit r0, r1", 0x31415927, r0, r1, 0);
1704 TESTINST2("rbit r0, r1", 0x14141562, r0, r1, 0);
1705 TESTINST2("rbit r0, r1", 0xabe8391f, r0, r1, 0);
1706 TESTINST2("rbit r0, r1", 0x9028aa80, r0, r1, 0);
1707 TESTINST2("rbit r0, r1", 0xead1fc6d, r0, r1, 0);
1708 TESTINST2("rbit r0, r1", 0x35c98c55, r0, r1, 0);
1709 TESTINST2("rbit r0, r1", 0x534af1eb, r0, r1, 0);
1710 TESTINST2("rbit r0, r1", 0x45511b08, r0, r1, 0);
1711 TESTINST2("rbit r0, r1", 0x90077f71, r0, r1, 0);
1712 TESTINST2("rbit r0, r1", 0xde8ca84b, r0, r1, 0);
1713 TESTINST2("rbit r0, r1", 0xe37a0dda, r0, r1, 0);
1714 TESTINST2("rbit r0, r1", 0xe5b83d4b, r0, r1, 0);
1715 TESTINST2("rbit r0, r1", 0xbb6d14ec, r0, r1, 0);
1716 TESTINST2("rbit r0, r1", 0x68983cc9, r0, r1, 0);
1719 TESTINST2("rev r0, r1", 0x00000000, r0, r1, 0);
1720 TESTINST2("rev r0, r1", 0xFFFFFFFF, r0, r1, 0);
1721 TESTINST2("rev r0, r1", 0x80000000, r0, r1, 0);
1722 TESTINST2("rev r0, r1", 0x00000001, r0, r1, 0);
1723 TESTINST2("rev r0, r1", 0x31415927, r0, r1, 0);
1724 TESTINST2("rev r0, r1", 0x14141562, r0, r1, 0);
1725 TESTINST2("rev r0, r1", 0xabe8391f, r0, r1, 0);
1726 TESTINST2("rev r0, r1", 0x9028aa80, r0, r1, 0);
1727 TESTINST2("rev r0, r1", 0xead1fc6d, r0, r1, 0);
1728 TESTINST2("rev r0, r1", 0x35c98c55, r0, r1, 0);
1729 TESTINST2("rev r0, r1", 0x534af1eb, r0, r1, 0);
1730 TESTINST2("rev r0, r1", 0x45511b08, r0, r1, 0);
1731 TESTINST2("rev r0, r1", 0x90077f71, r0, r1, 0);
1732 TESTINST2("rev r0, r1", 0xde8ca84b, r0, r1, 0);
1733 TESTINST2("rev r0, r1", 0xe37a0dda, r0, r1, 0);
1734 TESTINST2("rev r0, r1", 0xe5b83d4b, r0, r1, 0);
1735 TESTINST2("rev r0, r1", 0xbb6d14ec, r0, r1, 0);
1736 TESTINST2("rev r0, r1", 0x68983cc9, r0, r1, 0);
1739 TESTINST2("rev16 r0, r1", 0x00000000, r0, r1, 0);
1740 TESTINST2("rev16 r0, r1", 0xFFFFFFFF, r0, r1, 0);
1741 TESTINST2("rev16 r0, r1", 0x80000000, r0, r1, 0);
1742 TESTINST2("rev16 r0, r1", 0x00000001, r0, r1, 0);
1743 TESTINST2("rev16 r0, r1", 0x31415927, r0, r1, 0);
1744 TESTINST2("rev16 r0, r1", 0x14141562, r0, r1, 0);
1745 TESTINST2("rev16 r0, r1", 0xabe8391f, r0, r1, 0);
1746 TESTINST2("rev16 r0, r1", 0x9028aa80, r0, r1, 0);
1747 TESTINST2("rev16 r0, r1", 0xead1fc6d, r0, r1, 0);
1748 TESTINST2("rev16 r0, r1", 0x35c98c55, r0, r1, 0);
1749 TESTINST2("rev16 r0, r1", 0x534af1eb, r0, r1, 0);
1750 TESTINST2("rev16 r0, r1", 0x45511b08, r0, r1, 0);
1751 TESTINST2("rev16 r0, r1", 0x90077f71, r0, r1, 0);
1752 TESTINST2("rev16 r0, r1", 0xde8ca84b, r0, r1, 0);
1753 TESTINST2("rev16 r0, r1", 0xe37a0dda, r0, r1, 0);
1754 TESTINST2("rev16 r0, r1", 0xe5b83d4b, r0, r1, 0);
1755 TESTINST2("rev16 r0, r1", 0xbb6d14ec, r0, r1, 0);
1756 TESTINST2("rev16 r0, r1", 0x68983cc9, r0, r1, 0);