• Home
  • Raw
  • Download

Lines Matching refs:rex

69 static void DumpReg0(std::ostream& os, uint8_t rex, size_t reg,  in DumpReg0()  argument
71 DCHECK_LT(reg, (rex == 0) ? 8u : 16u); in DumpReg0()
72 bool rex_w = (rex & REX_W) != 0; in DumpReg0()
74 os << ((rex == 0) ? gReg8Names[reg] : gExtReg8Names[reg]); in DumpReg0()
84 static void DumpAnyReg(std::ostream& os, uint8_t rex, size_t reg, in DumpAnyReg() argument
87 DumpReg0(os, rex, reg, byte_operand, size_override); in DumpAnyReg()
95 static void DumpReg(std::ostream& os, uint8_t rex, uint8_t reg, in DumpReg() argument
97 bool rex_r = (rex & REX_R) != 0; in DumpReg()
99 DumpAnyReg(os, rex, reg_num, byte_operand, size_override, reg_file); in DumpReg()
102 static void DumpRmReg(std::ostream& os, uint8_t rex, uint8_t reg, in DumpRmReg() argument
104 bool rex_b = (rex & REX_B) != 0; in DumpRmReg()
106 DumpAnyReg(os, rex, reg_num, byte_operand, size_override, reg_file); in DumpRmReg()
109 static void DumpAddrReg(std::ostream& os, uint8_t rex, uint8_t reg) { in DumpAddrReg() argument
110 if (rex != 0) { in DumpAddrReg()
117 static void DumpBaseReg(std::ostream& os, uint8_t rex, uint8_t reg) { in DumpBaseReg() argument
118 bool rex_b = (rex & REX_B) != 0; in DumpBaseReg()
120 DumpAddrReg(os, rex, reg_num); in DumpBaseReg()
123 static void DumpOpcodeReg(std::ostream& os, uint8_t rex, uint8_t reg, in DumpOpcodeReg() argument
125 bool rex_b = (rex & REX_B) != 0; in DumpOpcodeReg()
127 DumpReg0(os, rex, reg_num, byte_operand, size_override); in DumpOpcodeReg()
315 uint8_t rex = (supports_rex_ && (*instr >= 0x40) && (*instr <= 0x4F)) ? *instr : 0; in DumpInstruction() local
316 if (rex != 0) { in DumpInstruction()
400 if ((rex & REX_W) != 0) { in DumpInstruction()
1111 rex |= (rex == 0 ? 0 : REX_W); in DumpInstruction()
1352 if ((rex & REX_W) != 0) { in DumpInstruction()
1486 uint8_t rex64 = supports_rex_ ? (rex | 0x40) : rex; in DumpInstruction()
1488 uint8_t rex_w = (supports_rex_ && target_specific) ? (rex | 0x48) : rex; in DumpInstruction()
1512 } else if ((rex & REX_W) != 0) { in DumpInstruction()
1520 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], dst_reg_file); in DumpInstruction()
1531 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], src_reg_file); in DumpInstruction()
1537 DumpReg(args, rex, 0 /* EAX */, byte_operand, prefix[2], GPR); in DumpInstruction()
1541 DumpReg(args, rex, 1 /* ECX */, true, prefix[2], GPR); in DumpInstruction()