Lines Matching refs:rm_reg
85 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64() argument
86 emit(0x48 | reg.high_bit() << 2 | rm_reg.high_bit()); in emit_rex_64()
90 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64() argument
91 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3); in emit_rex_64()
95 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) { in emit_rex_64() argument
96 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3); in emit_rex_64()
110 void Assembler::emit_rex_64(Register rm_reg) { in emit_rex_64() argument
111 DCHECK_EQ(rm_reg.code() & 0xf, rm_reg.code()); in emit_rex_64()
112 emit(0x48 | rm_reg.high_bit()); in emit_rex_64()
121 void Assembler::emit_rex_32(Register reg, Register rm_reg) { in emit_rex_32() argument
122 emit(0x40 | reg.high_bit() << 2 | rm_reg.high_bit()); in emit_rex_32()
131 void Assembler::emit_rex_32(Register rm_reg) { in emit_rex_32() argument
132 emit(0x40 | rm_reg.high_bit()); in emit_rex_32()
141 void Assembler::emit_optional_rex_32(Register reg, Register rm_reg) { in emit_optional_rex_32() argument
142 byte rex_bits = reg.high_bit() << 2 | rm_reg.high_bit(); in emit_optional_rex_32()
177 void Assembler::emit_optional_rex_32(Register rm_reg) { in emit_optional_rex_32() argument
178 if (rm_reg.high_bit()) emit(0x41); in emit_optional_rex_32()
182 void Assembler::emit_optional_rex_32(XMMRegister rm_reg) { in emit_optional_rex_32() argument
183 if (rm_reg.high_bit()) emit(0x41); in emit_optional_rex_32()
595 void Operand::set_modrm(int mod, Register rm_reg) { in set_modrm() argument
597 buf_[0] = mod << 6 | rm_reg.low_bits(); in set_modrm()
599 rex_ |= rm_reg.high_bit(); in set_modrm()