Home
last modified time | relevance | path

Searched refs:rex (Results 1 – 4 of 4) sorted by relevance

/art/disassembler/
Ddisassembler_x86.cc66 static void DumpReg0(std::ostream& os, uint8_t rex, size_t reg, in DumpReg0() argument
68 DCHECK_LT(reg, (rex == 0) ? 8u : 16u); in DumpReg0()
69 bool rex_w = (rex & REX_W) != 0; in DumpReg0()
71 os << ((rex == 0) ? gReg8Names[reg] : gExtReg8Names[reg]); in DumpReg0()
83 static void DumpAnyReg(std::ostream& os, uint8_t rex, size_t reg, in DumpAnyReg() argument
86 DumpReg0(os, rex, reg, byte_operand, size_override); in DumpAnyReg()
94 static void DumpReg(std::ostream& os, uint8_t rex, uint8_t reg, in DumpReg() argument
96 bool rex_r = (rex & REX_R) != 0; in DumpReg()
98 DumpAnyReg(os, rex, reg_num, byte_operand, size_override, reg_file); in DumpReg()
101 static void DumpRmReg(std::ostream& os, uint8_t rex, uint8_t reg, in DumpRmReg() argument
[all …]
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc1023 void X86_64Assembler::rex(bool force, bool w, Register* r, Register* x, Register* b) {
1029 uint8_t rex = force ? 0x40 : 0;
1031 rex |= 0x48; // REX.W000
1034 rex |= 0x44; // REX.0R00
1038 rex |= 0x42; // REX.00X0
1042 rex |= 0x41; // REX.000B
1045 if (rex != 0) {
1046 EmitUint8(rex);
1056 uint8_t rex = mem->rex();
1058 rex |= 0x40; // REX.0000
[all …]
Dassembler_x86_64.h83 uint8_t rex() const { in rex() function
/art/compiler/dex/quick/x86/
Dassemble_x86.cc894 uint8_t rex = 0; in EmitPrefix() local
898 rex |= 0x40; // REX.0000 in EmitPrefix()
900 rex |= 0x40; // REX.0000 in EmitPrefix()
904 rex |= 0x48; // REX.W000 in EmitPrefix()
907 rex |= 0x44; // REX.0R00 in EmitPrefix()
910 rex |= 0x42; // REX.00X0 in EmitPrefix()
913 rex |= 0x41; // REX.000B in EmitPrefix()
922 rex |= entry->skeleton.prefix1; in EmitPrefix()
923 code_buffer_.push_back(rex); in EmitPrefix()
924 rex = 0; in EmitPrefix()
[all …]