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.cc533 static bool NeedsRex(int32_t raw_reg) { in NeedsRex() argument
534 return RegStorage::RegNum(raw_reg) > 7; in NeedsRex()
537 static uint8_t LowRegisterBits(int32_t raw_reg) { in LowRegisterBits() argument
538 uint8_t low_reg = RegStorage::RegNum(raw_reg) & kRegNumMask32; // 3 bits in LowRegisterBits()
612 size_t X86Mir2Lir::ComputeSize(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_index, in ComputeSize() argument
629 bool registers_need_rex_prefix = NeedsRex(raw_reg) || NeedsRex(raw_index) || NeedsRex(raw_base); in ComputeSize()
633 (RegStorage::RegNum(raw_reg) >= 4 && !IsByteSecondOperand(entry)); in ComputeSize()
639 << RegStorage::RegNum(raw_reg) << " with instruction " << entry->name; in ComputeSize()
857 void X86Mir2Lir::CheckValidByteRegister(const X86EncodingMap* entry, int32_t raw_reg) { in CheckValidByteRegister() argument
870 if (RegStorage::RegNum(raw_reg) >= 4) { in CheckValidByteRegister()
[all …]
Dcodegen_x86.h421 size_t ComputeSize(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_index,
423 void CheckValidByteRegister(const X86EncodingMap* entry, int32_t raw_reg);
436 void EmitOpRegOpcode(const X86EncodingMap* entry, int32_t raw_reg);
437 void EmitOpReg(const X86EncodingMap* entry, int32_t raw_reg);
441 void EmitMemReg(const X86EncodingMap* entry, int32_t raw_base, int32_t disp, int32_t raw_reg);
442 void EmitRegMem(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_base, int32_t disp);
443 void EmitRegArray(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_base,
446 int32_t disp, int32_t raw_reg);
450 void EmitRegThread(const X86EncodingMap* entry, int32_t raw_reg, int32_t disp);
457 void EmitRegImm(const X86EncodingMap* entry, int32_t raw_reg, int32_t imm);
[all …]