Home
last modified time | relevance | path

Searched refs:reg_or_opcode (Results 1 – 5 of 5) sorted by relevance

/art/compiler/utils/x86/
Dassembler_x86.cc1324 void X86Assembler::EmitOperand(int reg_or_opcode, const Operand& operand) { in EmitOperand() argument
1325 CHECK_GE(reg_or_opcode, 0); in EmitOperand()
1326 CHECK_LT(reg_or_opcode, 8); in EmitOperand()
1331 EmitUint8(operand.encoding_[0] + (reg_or_opcode << 3)); in EmitOperand()
1344 void X86Assembler::EmitComplex(int reg_or_opcode, in EmitComplex() argument
1347 CHECK_GE(reg_or_opcode, 0); in EmitComplex()
1348 CHECK_LT(reg_or_opcode, 8); in EmitComplex()
1352 EmitOperand(reg_or_opcode, operand); in EmitComplex()
1356 EmitUint8(0x05 + (reg_or_opcode << 3)); in EmitComplex()
1360 EmitOperand(reg_or_opcode, operand); in EmitComplex()
[all …]
/art/disassembler/
Ddisassembler_x86.cc718 uint8_t reg_or_opcode = (instr[1] >> 3) & 7; in DumpInstruction() local
719 switch (reg_or_opcode) { in DumpInstruction()
1092 uint8_t reg_or_opcode = (modrm >> 3) & 7; in DumpInstruction() local
1162 opcode << modrm_opcodes[reg_or_opcode]; in DumpInstruction()
1176 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], dst_reg_file); in DumpInstruction()
1187 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], src_reg_file); in DumpInstruction()
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc1520 void X86_64Assembler::EmitOperand(uint8_t reg_or_opcode, const Operand& operand) { in EmitOperand() argument
1521 CHECK_GE(reg_or_opcode, 0); in EmitOperand()
1522 CHECK_LT(reg_or_opcode, 8); in EmitOperand()
1527 EmitUint8(operand.encoding_[0] + (reg_or_opcode << 3)); in EmitOperand()
1544 void X86_64Assembler::EmitComplex(uint8_t reg_or_opcode, in EmitComplex() argument
1547 CHECK_GE(reg_or_opcode, 0); in EmitComplex()
1548 CHECK_LT(reg_or_opcode, 8); in EmitComplex()
1552 EmitOperand(reg_or_opcode, operand); in EmitComplex()
1556 EmitUint8(0x05 + (reg_or_opcode << 3)); in EmitComplex()
1560 EmitOperand(reg_or_opcode, operand); in EmitComplex()
[all …]
/art/compiler/dex/quick/x86/
Dcodegen_x86.h430 void EmitModrmThread(uint8_t reg_or_opcode);
431 void EmitModrmDisp(uint8_t reg_or_opcode, uint8_t base, int32_t disp);
432 void EmitModrmSibDisp(uint8_t reg_or_opcode, uint8_t base, uint8_t index, int scale,
Dassemble_x86.cc983 void X86Mir2Lir::EmitModrmThread(uint8_t reg_or_opcode) { in EmitModrmThread() argument
986 uint8_t modrm = (0 << 6) | (reg_or_opcode << 3) | rs_rX86_SP.GetRegNum(); in EmitModrmThread()
991 uint8_t modrm = (0 << 6) | (reg_or_opcode << 3) | rs_rBP.GetRegNum(); in EmitModrmThread()
996 void X86Mir2Lir::EmitModrmDisp(uint8_t reg_or_opcode, uint8_t base, int32_t disp) { in EmitModrmDisp() argument
997 DCHECK_LT(reg_or_opcode, 8); in EmitModrmDisp()
999 uint8_t modrm = (ModrmForDisp(base, disp) << 6) | (reg_or_opcode << 3) | base; in EmitModrmDisp()
1008 void X86Mir2Lir::EmitModrmSibDisp(uint8_t reg_or_opcode, uint8_t base, uint8_t index, in EmitModrmSibDisp() argument
1010 DCHECK_LT(RegStorage::RegNum(reg_or_opcode), 8); in EmitModrmSibDisp()
1011 uint8_t modrm = (ModrmForDisp(base, disp) << 6) | RegStorage::RegNum(reg_or_opcode) << 3 | in EmitModrmSibDisp()