Home
last modified time | relevance | path

Searched refs:rm_reg (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/x64/
Dassembler-x64-inl.h78 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64() argument
79 emit(0x48 | reg.high_bit() << 2 | rm_reg.high_bit()); in emit_rex_64()
83 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64() argument
84 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3); in emit_rex_64()
88 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) { in emit_rex_64() argument
89 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3); in emit_rex_64()
103 void Assembler::emit_rex_64(Register rm_reg) { in emit_rex_64() argument
104 ASSERT_EQ(rm_reg.code() & 0xf, rm_reg.code()); in emit_rex_64()
105 emit(0x48 | rm_reg.high_bit()); in emit_rex_64()
114 void Assembler::emit_rex_32(Register reg, Register rm_reg) { in emit_rex_32() argument
[all …]
Dassembler-x64.h1418 inline void emit_rex_64(XMMRegister reg, Register rm_reg);
1419 inline void emit_rex_64(Register reg, XMMRegister rm_reg);
1420 inline void emit_rex_64(Register reg, Register rm_reg);
1434 inline void emit_rex_64(Register rm_reg);
1448 inline void emit_rex_32(Register reg, Register rm_reg);
1457 inline void emit_rex_32(Register rm_reg);
1465 inline void emit_optional_rex_32(Register reg, Register rm_reg);
1491 inline void emit_optional_rex_32(Register rm_reg);
1512 void emit_modrm(Register reg, Register rm_reg) { in emit_modrm() argument
1513 emit(0xC0 | reg.low_bits() << 3 | rm_reg.low_bits()); in emit_modrm()
[all …]
Dassembler-x64.cc575 void Assembler::arithmetic_op(byte opcode, Register reg, Register rm_reg) { in arithmetic_op() argument
578 if (rm_reg.low_bits() == 4) { // Forces SIB byte. in arithmetic_op()
580 emit_rex_64(rm_reg, reg); in arithmetic_op()
582 emit_modrm(rm_reg, reg); in arithmetic_op()
584 emit_rex_64(reg, rm_reg); in arithmetic_op()
586 emit_modrm(reg, rm_reg); in arithmetic_op()
591 void Assembler::arithmetic_op_16(byte opcode, Register reg, Register rm_reg) { in arithmetic_op_16() argument
594 if (rm_reg.low_bits() == 4) { // Forces SIB byte. in arithmetic_op_16()
597 emit_optional_rex_32(rm_reg, reg); in arithmetic_op_16()
599 emit_modrm(rm_reg, reg); in arithmetic_op_16()
[all …]