Lines Matching refs:rm_reg
73 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64() argument
74 emit(0x48 | reg.high_bit() << 2 | rm_reg.high_bit()); in emit_rex_64()
78 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64() argument
79 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3); in emit_rex_64()
93 void Assembler::emit_rex_64(Register rm_reg) { in emit_rex_64() argument
94 ASSERT_EQ(rm_reg.code() & 0xf, rm_reg.code()); in emit_rex_64()
95 emit(0x48 | rm_reg.high_bit()); in emit_rex_64()
104 void Assembler::emit_rex_32(Register reg, Register rm_reg) { in emit_rex_32() argument
105 emit(0x40 | reg.high_bit() << 2 | rm_reg.high_bit()); in emit_rex_32()
114 void Assembler::emit_rex_32(Register rm_reg) { in emit_rex_32() argument
115 emit(0x40 | rm_reg.high_bit()); in emit_rex_32()
124 void Assembler::emit_optional_rex_32(Register reg, Register rm_reg) { in emit_optional_rex_32() argument
125 byte rex_bits = reg.high_bit() << 2 | rm_reg.high_bit(); in emit_optional_rex_32()
154 void Assembler::emit_optional_rex_32(Register rm_reg) { in emit_optional_rex_32() argument
155 if (rm_reg.high_bit()) emit(0x41); in emit_optional_rex_32()
277 void Operand::set_modrm(int mod, Register rm_reg) { in set_modrm() argument
279 buf_[0] = mod << 6 | rm_reg.low_bits(); in set_modrm()
281 rex_ |= rm_reg.high_bit(); in set_modrm()