Home
last modified time | relevance | path

Searched refs:raw_reg (Results 1 – 2 of 2) sorted by relevance

/art/compiler/dex/quick/x86/
Dassemble_x86.cc559 static bool NeedsRex(int32_t raw_reg) { in NeedsRex() argument
560 return raw_reg != kRIPReg && RegStorage::RegNum(raw_reg) > 7; in NeedsRex()
563 static uint8_t LowRegisterBits(int32_t raw_reg) { in LowRegisterBits() argument
564 uint8_t low_reg = RegStorage::RegNum(raw_reg) & kRegNumMask32; // 3 bits in LowRegisterBits()
639 size_t X86Mir2Lir::ComputeSize(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_index, in ComputeSize() argument
656 bool registers_need_rex_prefix = NeedsRex(raw_reg) || NeedsRex(raw_index) || NeedsRex(raw_base); in ComputeSize()
660 (RegStorage::RegNum(raw_reg) >= 4 && !IsByteSecondOperand(entry)); in ComputeSize()
666 << RegStorage::RegNum(raw_reg) << " with instruction " << entry->name; in ComputeSize()
887 void X86Mir2Lir::CheckValidByteRegister(const X86EncodingMap* entry, int32_t raw_reg) { in CheckValidByteRegister() argument
900 if (RegStorage::RegNum(raw_reg) >= 4) { in CheckValidByteRegister()
[all …]
Dcodegen_x86.h438 size_t ComputeSize(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_index,
440 void CheckValidByteRegister(const X86EncodingMap* entry, int32_t raw_reg);
453 void EmitOpRegOpcode(const X86EncodingMap* entry, int32_t raw_reg);
454 void EmitOpReg(const X86EncodingMap* entry, int32_t raw_reg);
458 void EmitMemReg(const X86EncodingMap* entry, int32_t raw_base, int32_t disp, int32_t raw_reg);
459 void EmitRegMem(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_base, int32_t disp);
460 void EmitRegArray(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_base,
463 int32_t disp, int32_t raw_reg);
467 void EmitRegThread(const X86EncodingMap* entry, int32_t raw_reg, int32_t disp);
474 void EmitRegImm(const X86EncodingMap* entry, int32_t raw_reg, int32_t imm);
[all …]