Lines Matching refs:TESTINST2
20 #define TESTINST2(instruction, RSval, imm, RT, RS) \
147 TESTINST2("addi $t0, $t1, 0", 0, 0, t0, t1);
148 TESTINST2("addi $t0, $t1, 1", 0, 1, t0, t1);
149 TESTINST2("addi $t0, $t1, 1", 1, 0, t0, t1);
150 TESTINST2("addi $t0, $t1, 1", 1, 1, t0, t1);
151 TESTINST2("addi $t0, $t1, -1", 0, -1, t0, t1);
152 TESTINST2("addi $t0, $t1, -1", 1, -1, t0, t1);
153 TESTINST2("addi $t0, $t1, 0", 0x80000000, 0, t0, t1);
154 TESTINST2("addi $t0, $t1, 0", -1, 0, t0, t1);
155 TESTINST2("addi $t0, $t1, 0", 0x80000000, 0, t0, t1);
158 TESTINST2("addiu $t0, $t1, 0", 0, 0, t0, t1);
159 TESTINST2("addiu $t0, $t1, 1", 0, 1, t0, t1);
160 TESTINST2("addiu $t0, $t1, 1", 1, 0, t0, t1);
161 TESTINST2("addiu $t0, $t1, 1", 1, 1, t0, t1);
162 TESTINST2("addiu $t0, $t1, -1", 0, -1, t0, t1);
163 TESTINST2("addiu $t0, $t1, -1", 1, -1, t0, t1);
164 TESTINST2("addiu $t0, $t1, 0", 0x80000000, 0, t0, t1);
165 TESTINST2("addiu $t0, $t1, 0", -1, 0, t0, t1);
166 TESTINST2("addiu $t0, $t1, 0", 0x80000000, 0, t0, t1);
218 TESTINST2("andi $t0, $t1, 1", 0, 1, t0, t1);
219 TESTINST2("andi $t0, $t1, 0", 1, 0, t0, t1);
220 TESTINST2("andi $t0, $t1, 1", 1, 1, t0, t1);
221 TESTINST2("andi $t0, $t1, 1", 0x7fffffff, 0, t0, t1);
222 TESTINST2("andi $t0, $t1, 0", 0x80000000, 0, t0, t1);
223 TESTINST2("andi $t0, $t1, 0x3145", 0xffffffff, 0x3145, t0, t1);
804 TESTINST2("ori $t0, $t1, 0xffff", 0x31415927, 0xffff, t0, t1);
805 TESTINST2("ori $t0, $t1, 0xee00", 0x31415927, 0xee00, t0, t1);
806 TESTINST2("ori $t0, $t1, 255", 0, 255, t0, t1);
807 TESTINST2("ori $t0, $t1, 0", -1, 0, t0, t1);
808 TESTINST2("ori $t0, $t1, 1", 0, 1, t0, t1);
809 TESTINST2("ori $t0, $t1, 0", 0, 0, t0, t1);
810 TESTINST2("ori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
811 TESTINST2("ori $t0, $t1, 0", 0x7fffffff, 0, t0, t1);
812 TESTINST2("ori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
813 TESTINST2("ori $t0, $t1, 0x8000", 0x7fffffff, 0x8000, t0, t1);
814 TESTINST2("ori $t0, $t1, 0xff00", 0x80000000, 0xff00, t0, t1);
815 TESTINST2("ori $t0, $t1, 0x0dd0", 0x7fffffff, 0x0dd0, t0, t1);
816 TESTINST2("ori $t0, $t1, 0xffff", 0x31415927, 0xffff, t0, t1);
817 TESTINST2("ori $t0, $t1, 0xee00", 0x31415927, 0xee00, t0, t1);
818 TESTINST2("ori $t0, $t1, 255", 0, 255, t0, t1);
819 TESTINST2("ori $t0, $t1, 0", 1, 0, t0, t1);
820 TESTINST2("ori $t0, $t1, 1", 0, 1, t0, t1);
821 TESTINST2("ori $t0, $t1, 0", -1, 0, t0, t1);
822 TESTINST2("ori $t0, $t1, 0x8000", 0, 0x8000, t0, t1);
823 TESTINST2("ori $t0, $t1, 0", 0x8000, 0, t0, t1);
824 TESTINST2("ori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
825 TESTINST2("ori $t0, $t1, 0x8000", 0x7fffffff, 0x8000, t0, t1);
826 TESTINST2("ori $t0, $t1, 0xff00", 0x80000000, 0xff00, t0, t1);
827 TESTINST2("ori $t0, $t1, 0x0dd0", 0x7fffffff, 0x0dd0, t0, t1);
828 TESTINST2("ori $t0, $t1, 0", 0xffff, 0, t0, t1);
829 TESTINST2("ori $t0, $t1, 0xffff", 0, 0xffff, t0, t1);
830 TESTINST2("ori $t0, $t1, 0xffff", 0xffffffff, 0xffff, t0, t1);
831 TESTINST2("ori $t0, $t1, 0x7fff", 0x7fffffff, 0x7fff, t0, t1);
832 TESTINST2("ori $t0, $t1, 0x0000", 0x0000ffff, 0x0000, t0, t1);
836 TESTINST2("rotr $t0, $t1, 0x00000000", 0x31415927, 0x00000000, t0, t1);
837 TESTINST2("rotr $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
838 TESTINST2("rotr $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
839 TESTINST2("rotr $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
840 TESTINST2("rotr $t0, $t1, 0x00000010", 0x31415927, 0x00000010, t0, t1);
841 TESTINST2("rotr $t0, $t1, 0x0000001F", 0x31415927, 0x0000001F, t0, t1);
842 TESTINST2("rotr $t0, $t1, 0x00000020", 0x31415927, 0x00000020, t0, t1);
843 TESTINST2("rotr $t0, $t1, 0x00000021", 0x31415927, 0x00000021, t0, t1);
844 TESTINST2("rotr $t0, $t1, 0x00000000", 0x00088000, 0x00000000, t0, t1);
845 TESTINST2("rotr $t0, $t1, 0x00000001", 0x00088000, 0x00000001, t0, t1);
846 TESTINST2("rotr $t0, $t1, 31", 0x00088000, 31, t0, t1);
847 TESTINST2("rotr $t0, $t1, 16", 0x00010000, 16, t0, t1);
848 TESTINST2("rotr $t0, $t1, 17", 0x00010000, 17, t0, t1);
849 TESTINST2("rotr $t0, $t1, 18", 0x00010000, 18, t0, t1);
850 TESTINST2("rotr $t0, $t1, 0", 0, 0, t0, t1);
851 TESTINST2("rotr $t0, $t1, 0xffff", 0xffff, 0xffff, t0, t1);
926 TESTINST2("sll $t0, $t1, 0x00000000", 0x31415927, 0x00000000, t0, t1);
927 TESTINST2("sll $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
928 TESTINST2("sll $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
929 TESTINST2("sll $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
930 TESTINST2("sll $t0, $t1, 0x00000010", 0x31415927, 0x00000010, t0, t1);
931 TESTINST2("sll $t0, $t1, 0x0000001F", 0x31415927, 0x0000001F, t0, t1);
932 TESTINST2("sll $t0, $t1, 0x00000009", 0x31415927, 0x00000009, t0, t1);
933 TESTINST2("sll $t0, $t1, 0x0000000A", 0x31415927, 0x0000000A, t0, t1);
934 TESTINST2("sll $t0, $t1, 0x00000000", 0x00088000, 0x00000000, t0, t1);
935 TESTINST2("sll $t0, $t1, 0x00000001", 0x00088000, 0x00000001, t0, t1);
936 TESTINST2("sll $t0, $t1, 31", 0x00088000, 31, t0, t1);
937 TESTINST2("sll $t0, $t1, 16", 0x00010000, 16, t0, t1);
938 TESTINST2("sll $t0, $t1, 17", 0x00010000, 17, t0, t1);
939 TESTINST2("sll $t0, $t1, 18", 0x00010000, 18, t0, t1);
940 TESTINST2("sll $t0, $t1, 0", 0, 0, t0, t1);
1046 TESTINST2("slti $t0, $t1, 0x00000000", 0x00000001, 0x31415927, t0, t1);
1047 TESTINST2("slti $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
1048 TESTINST2("slti $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
1049 TESTINST2("slti $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
1050 TESTINST2("slti $t0, $t1, 0x00000010", 0x00000010, 0x00000010, t0, t1);
1051 TESTINST2("slti $t0, $t1, 0x0000001F", 0x00000010, 0x31415927, t0, t1);
1052 TESTINST2("slti $t0, $t1, 0x00000009", 0x31415927, 0x00000009, t0, t1);
1053 TESTINST2("slti $t0, $t1, 0x0000000A", 0x31415927, 0x0000000A, t0, t1);
1054 TESTINST2("slti $t0, $t1, 0x00000000", 0x00088000, 0x0000000A, t0, t1);
1055 TESTINST2("slti $t0, $t1, 0x00000001", 0x00000000, 0x00000001, t0, t1);
1056 TESTINST2("slti $t0, $t1, 31", 0x00088000, 31, t0, t1);
1057 TESTINST2("slti $t0, $t1, 16", 0x00010000, 16, t0, t1);
1058 TESTINST2("slti $t0, $t1, 17", 0x00010000, 17, t0, t1);
1059 TESTINST2("slti $t0, $t1, 18", 0x00010000, 18, t0, t1);
1060 TESTINST2("slti $t0, $t1, 0", 0, 0, t0, t1);
1063 TESTINST2("sltiu $t0, $t1, 0x00000000", 0x00000001, 0x31415927, t0, t1);
1064 TESTINST2("sltiu $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
1065 TESTINST2("sltiu $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
1066 TESTINST2("sltiu $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
1067 TESTINST2("sltiu $t0, $t1, 0x00000010", 0x00000010, 0x00000010, t0, t1);
1068 TESTINST2("sltiu $t0, $t1, 0x0000001F", 0x00000010, 0x31415927, t0, t1);
1069 TESTINST2("sltiu $t0, $t1, 0x00000009", 0x31415927, 0x00000009, t0, t1);
1070 TESTINST2("sltiu $t0, $t1, 0x0000000A", 0x31415927, 0x0000000A, t0, t1);
1071 TESTINST2("sltiu $t0, $t1, 0x00000000", 0x00088000, 0x0000000A, t0, t1);
1072 TESTINST2("sltiu $t0, $t1, 0x00000001", 0x00000000, 0x00000001, t0, t1);
1073 TESTINST2("sltiu $t0, $t1, 31", 0x00088000, 31, t0, t1);
1074 TESTINST2("sltiu $t0, $t1, 16", 0x00010000, 16, t0, t1);
1075 TESTINST2("sltiu $t0, $t1, 17", 0x00010000, 17, t0, t1);
1076 TESTINST2("sltiu $t0, $t1, 18", 0x00010000, 18, t0, t1);
1077 TESTINST2("sltiu $t0, $t1, 0", 0, 0, t0, t1);
1134 TESTINST2("sra $t0, $t1, 0x00000000", 0x00000001, 0x31415927, t0, t1);
1135 TESTINST2("sra $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
1136 TESTINST2("sra $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
1137 TESTINST2("sra $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
1138 TESTINST2("sra $t0, $t1, 0x00000010", 0x00000010, 0x00000010, t0, t1);
1139 TESTINST2("sra $t0, $t1, 0x0000001F", 0x00000010, 0x31415927, t0, t1);
1140 TESTINST2("sra $t0, $t1, 0x00000009", 0x31415927, 0x00000009, t0, t1);
1141 TESTINST2("sra $t0, $t1, 0x0000000A", 0x31415927, 0x0000000A, t0, t1);
1142 TESTINST2("sra $t0, $t1, 0x00000000", 0x00088000, 0x0000000A, t0, t1);
1143 TESTINST2("sra $t0, $t1, 0x00000001", 0x00000000, 0x00000001, t0, t1);
1144 TESTINST2("sra $t0, $t1, 31", 0x00088000, 31, t0, t1);
1145 TESTINST2("sra $t0, $t1, 16", 0x00010000, 16, t0, t1);
1146 TESTINST2("sra $t0, $t1, 17", 0x00010000, 17, t0, t1);
1147 TESTINST2("sra $t0, $t1, 18", 0x00010000, 18, t0, t1);
1148 TESTINST2("sra $t0, $t1, 0", 0, 0, t0, t1);
1205 TESTINST2("srl $t0, $t1, 0x00000000", 0x00000001, 0x31415927, t0, t1);
1206 TESTINST2("srl $t0, $t1, 0x00000001", 0x31415927, 0x00000001, t0, t1);
1207 TESTINST2("srl $t0, $t1, 0x00000002", 0x31415927, 0x00000002, t0, t1);
1208 TESTINST2("srl $t0, $t1, 0x0000000F", 0x31415927, 0x0000000F, t0, t1);
1209 TESTINST2("srl $t0, $t1, 0x00000010", 0x00000010, 0x00000010, t0, t1);
1210 TESTINST2("srl $t0, $t1, 0x0000001F", 0x00000010, 0x31415927, t0, t1);
1211 TESTINST2("srl $t0, $t1, 0x00000009", 0x31415927, 0x00000009, t0, t1);
1212 TESTINST2("srl $t0, $t1, 0x0000000A", 0x31415927, 0x0000000A, t0, t1);
1213 TESTINST2("srl $t0, $t1, 0x00000000", 0x00088000, 0x0000000A, t0, t1);
1214 TESTINST2("srl $t0, $t1, 0x00000001", 0x00000000, 0x00000001, t0, t1);
1215 TESTINST2("srl $t0, $t1, 31", 0x00088000, 31, t0, t1);
1216 TESTINST2("srl $t0, $t1, 16", 0x00010000, 16, t0, t1);
1217 TESTINST2("srl $t0, $t1, 17", 0x00010000, 17, t0, t1);
1218 TESTINST2("srl $t0, $t1, 18", 0x00010000, 18, t0, t1);
1219 TESTINST2("srl $t0, $t1, 0", 0, 0, t0, t1);
1379 TESTINST2("xori $t0, $t1, 0xffff", 0x31415927, 0xffff, t0, t1);
1380 TESTINST2("xori $t0, $t1, 0xee00", 0x31415927, 0xee00, t0, t1);
1381 TESTINST2("xori $t0, $t1, 255", 0, 255, t0, t1);
1382 TESTINST2("xori $t0, $t1, 0", -1, 0, t0, t1);
1383 TESTINST2("xori $t0, $t1, 1", 0, 1, t0, t1);
1384 TESTINST2("xori $t0, $t1, 0", 0, 0, t0, t1);
1385 TESTINST2("xori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
1386 TESTINST2("xori $t0, $t1, 0", 0x7fffffff, 0, t0, t1);
1387 TESTINST2("xori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
1388 TESTINST2("xori $t0, $t1, 0x8000", 0x7fffffff, 0x8000, t0, t1);
1389 TESTINST2("xori $t0, $t1, 0xff00", 0x80000000, 0xff00, t0, t1);
1390 TESTINST2("xori $t0, $t1, 0x0dd0", 0x7fffffff, 0x0dd0, t0, t1);
1391 TESTINST2("xori $t0, $t1, 0xffff", 0x31415927, 0xffff, t0, t1);
1392 TESTINST2("xori $t0, $t1, 0xee00", 0x31415927, 0xee00, t0, t1);
1393 TESTINST2("xori $t0, $t1, 255", 0, 255, t0, t1);
1394 TESTINST2("xori $t0, $t1, 0", 1, 0, t0, t1);
1395 TESTINST2("xori $t0, $t1, 1", 0, 1, t0, t1);
1396 TESTINST2("xori $t0, $t1, 0", -1, 0, t0, t1);
1397 TESTINST2("xori $t0, $t1, 0x8000", 0, 0x8000, t0, t1);
1398 TESTINST2("xori $t0, $t1, 0", 0x8000, 0, t0, t1);
1399 TESTINST2("xori $t0, $t1, 0x8000", 0x80000000, 0x8000, t0, t1);
1400 TESTINST2("xori $t0, $t1, 0x8000", 0x7fffffff, 0x8000, t0, t1);
1401 TESTINST2("xori $t0, $t1, 0xff00", 0x80000000, 0xff00, t0, t1);
1402 TESTINST2("xori $t0, $t1, 0x0dd0", 0x7fffffff, 0x0dd0, t0, t1);
1403 TESTINST2("xori $t0, $t1, 0", 0xffff, 0, t0, t1);
1404 TESTINST2("xori $t0, $t1, 0xffff", 0, 0xffff, t0, t1);
1405 TESTINST2("xori $t0, $t1, 0xffff", 0xffffffff, 0xffff, t0, t1);
1406 TESTINST2("xori $t0, $t1, 0x7fff", 0x7fffffff, 0x7fff, t0, t1);
1407 TESTINST2("xori $t0, $t1, 0x0000", 0x0000ffff, 0x0000, t0, t1);