• Home
  • Raw
  • Download

Lines Matching refs:regop

299   static void get_modrm(byte data, int* mod, int* regop, int* rm) {  in get_modrm()  argument
301 *regop = (data & 0x38) >> 3; in get_modrm()
328 int MemoryFPUInstruction(int escape_opcode, int regop, byte* modrm_start);
354 int mod, regop, rm; in PrintRightOperandHelper() local
355 get_modrm(*modrmp, &mod, &regop, &rm); in PrintRightOperandHelper()
462 int mod, regop, rm; in PrintOperands() local
463 get_modrm(modrm, &mod, &regop, &rm); in PrintOperands()
467 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in PrintOperands()
474 AppendToBuffer(",%s", NameOfCPURegister(regop)); in PrintOperands()
490 int mod, regop, rm; in PrintImmediateOp() local
491 get_modrm(modrm, &mod, &regop, &rm); in PrintImmediateOp()
493 switch (regop) { in PrintImmediateOp()
519 int mod, regop, rm; in F7Instruction() local
520 get_modrm(modrm, &mod, &regop, &rm); in F7Instruction()
522 switch (regop) { in F7Instruction()
549 if (regop == 0) { in F7Instruction()
561 int mod, regop, rm; in D1D3C1Instruction() local
562 get_modrm(modrm, &mod, &regop, &rm); in D1D3C1Instruction()
565 switch (regop) { in D1D3C1Instruction()
685 int regop = (modrm_byte >> 3) & 0x7; // reg/op field of modrm byte. in MemoryFPUInstruction() local
687 case 0xD9: switch (regop) { in MemoryFPUInstruction()
701 case 0xDB: switch (regop) { in MemoryFPUInstruction()
711 switch (regop) { in MemoryFPUInstruction()
735 case 0xDD: switch (regop) { in MemoryFPUInstruction()
750 case 0xDF: switch (regop) { in MemoryFPUInstruction()
1039 int mod, regop, rm; in InstructionDecode() local
1040 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1041 if (regop == eax) { in InstructionDecode()
1063 int mod, regop, rm; in InstructionDecode() local
1064 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1066 AppendToBuffer("%s%s ", f0mnem, suffix[regop & 0x03]); in InstructionDecode()
1092 int mod, regop, rm; in InstructionDecode() local
1093 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1095 NameOfXMMRegister(regop), in InstructionDecode()
1116 int mod, regop, rm; in InstructionDecode() local
1117 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1120 NameOfXMMRegister(regop)); in InstructionDecode()
1124 int mod, regop, rm; in InstructionDecode() local
1125 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1127 NameOfCPURegister(regop), in InstructionDecode()
1133 int mod, regop, rm; in InstructionDecode() local
1134 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1138 NameOfXMMRegister(regop), in InstructionDecode()
1155 int mod, regop, rm; in InstructionDecode() local
1156 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1160 NameOfCPURegister(regop), static_cast<int>(imm8)); in InstructionDecode()
1165 int mod, regop, rm; in InstructionDecode() local
1166 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1169 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1171 AppendToBuffer(",%s,cl", NameOfCPURegister(regop)); in InstructionDecode()
1177 int mod, regop, rm; in InstructionDecode() local
1178 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1180 AppendToBuffer(",%s", NameOfByteCPURegister(regop)); in InstructionDecode()
1187 int mod, regop, rm; in InstructionDecode() local
1188 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1189 AppendToBuffer("%s %s,", f0mnem, NameOfCPURegister(regop)); in InstructionDecode()
1193 int mod, regop, rm; in InstructionDecode() local
1194 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1195 AppendToBuffer("%s %s,", f0mnem, NameOfCPURegister(regop)); in InstructionDecode()
1205 int mod, regop, rm; in InstructionDecode() local
1206 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1207 if (regop == eax) { in InstructionDecode()
1216 int mod, regop, rm; in InstructionDecode() local
1217 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1219 switch (regop) { in InstructionDecode()
1254 int mod, regop, rm; in InstructionDecode() local
1255 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1257 switch (regop) { in InstructionDecode()
1273 int mod, regop, rm; in InstructionDecode() local
1275 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1279 AppendToBuffer(",%s", NameOfByteCPURegister(regop)); in InstructionDecode()
1283 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1307 int mod, regop, rm; in InstructionDecode() local
1308 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1309 AppendToBuffer("xchg_w %s,", NameOfCPURegister(regop)); in InstructionDecode()
1313 int mod, regop, rm; in InstructionDecode() local
1314 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1317 AppendToBuffer(",%s", NameOfCPURegister(regop)); in InstructionDecode()
1343 int mod, regop, rm; in InstructionDecode() local
1344 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1346 NameOfXMMRegister(regop), in InstructionDecode()
1359 int mod, regop, rm; in InstructionDecode() local
1360 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1363 NameOfXMMRegister(regop), in InstructionDecode()
1369 int mod, regop, rm; in InstructionDecode() local
1370 get_modrm(*data, &mod, &rm, &regop); in InstructionDecode()
1373 NameOfCPURegister(regop), in InstructionDecode()
1379 int mod, regop, rm; in InstructionDecode() local
1380 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1384 NameOfXMMRegister(regop), in InstructionDecode()
1389 int mod, regop, rm; in InstructionDecode() local
1390 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1393 NameOfXMMRegister(regop), in InstructionDecode()
1403 int mod, regop, rm; in InstructionDecode() local
1404 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1407 NameOfXMMRegister(regop), in InstructionDecode()
1411 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1416 int mod, regop, rm; in InstructionDecode() local
1417 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1419 NameOfCPURegister(regop), in InstructionDecode()
1424 int mod, regop, rm; in InstructionDecode() local
1425 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1427 NameOfXMMRegister(regop), in InstructionDecode()
1432 int mod, regop, rm; in InstructionDecode() local
1433 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1435 NameOfXMMRegister(regop), in InstructionDecode()
1440 int mod, regop, rm; in InstructionDecode() local
1441 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1443 NameOfXMMRegister(regop), in InstructionDecode()
1448 int mod, regop, rm; in InstructionDecode() local
1449 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1450 AppendToBuffer("movd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1454 int mod, regop, rm; in InstructionDecode() local
1455 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1456 AppendToBuffer("movdqa %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1460 int mod, regop, rm; in InstructionDecode() local
1461 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1464 NameOfXMMRegister(regop), in InstructionDecode()
1470 int mod, regop, rm; in InstructionDecode() local
1471 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1473 NameOfXMMRegister(regop), in InstructionDecode()
1481 int mod, regop, rm; in InstructionDecode() local
1482 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1484 NameOfXMMRegister(regop), in InstructionDecode()
1489 int mod, regop, rm; in InstructionDecode() local
1490 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1492 DCHECK(regop == esi || regop == edx); in InstructionDecode()
1494 (regop == esi) ? "psllq" : "psrlq", in InstructionDecode()
1500 int mod, regop, rm; in InstructionDecode() local
1501 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1503 NameOfXMMRegister(regop), in InstructionDecode()
1509 int mod, regop, rm; in InstructionDecode() local
1510 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1512 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
1515 int mod, regop, rm; in InstructionDecode() local
1516 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1519 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
1522 int mod, regop, rm; in InstructionDecode() local
1523 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1525 NameOfXMMRegister(regop), in InstructionDecode()
1530 int mod, regop, rm; in InstructionDecode() local
1531 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1540 int mod, regop, rm; in InstructionDecode() local
1541 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1543 NameOfXMMRegister(regop), in InstructionDecode()
1548 int mod, regop, rm; in InstructionDecode() local
1549 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1551 NameOfXMMRegister(regop), in InstructionDecode()
1567 int mod, regop, rm; in InstructionDecode() local
1568 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1569 if (regop == ecx) { in InstructionDecode()
1625 int mod, regop, rm; in InstructionDecode() local
1626 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1628 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
1631 int mod, regop, rm; in InstructionDecode() local
1632 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1633 AppendToBuffer("movsd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1637 int mod, regop, rm; in InstructionDecode() local
1638 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1639 AppendToBuffer("cvtsd2ss %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1654 int mod, regop, rm; in InstructionDecode() local
1655 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1657 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1660 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
1676 NameOfXMMRegister(regop), in InstructionDecode()
1680 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1695 int mod, regop, rm; in InstructionDecode() local
1696 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1698 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()
1701 int mod, regop, rm; in InstructionDecode() local
1702 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1703 AppendToBuffer("movss %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1707 int mod, regop, rm; in InstructionDecode() local
1708 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1709 AppendToBuffer("cvttss2si %s,", NameOfCPURegister(regop)); in InstructionDecode()
1713 int mod, regop, rm; in InstructionDecode() local
1714 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1715 AppendToBuffer("cvtss2sd %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1719 int mod, regop, rm; in InstructionDecode() local
1720 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1721 AppendToBuffer("movdqu %s,", NameOfXMMRegister(regop)); in InstructionDecode()
1726 int mod, regop, rm; in InstructionDecode() local
1727 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1729 AppendToBuffer(",%s", NameOfXMMRegister(regop)); in InstructionDecode()