Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index df0c7d28ebeddbd4678f2f0c1fef18533e9aed3f..1a20109612ec33d72ceacb09af86cb96c13f74f5 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -234,6 +234,16 @@ void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg, |
} |
+void Assembler::emit_vex_prefix(Register reg, Register vreg, Register rm, |
+ VectorLength l, SIMDPrefix pp, LeadingOpcode mm, |
+ VexW w) { |
+ XMMRegister ireg = {reg.code()}; |
+ XMMRegister ivreg = {vreg.code()}; |
+ XMMRegister irm = {rm.code()}; |
+ emit_vex_prefix(ireg, ivreg, irm, l, pp, mm, w); |
+} |
+ |
+ |
void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg, |
const Operand& rm, VectorLength l, |
SIMDPrefix pp, LeadingOpcode mm, VexW w) { |
@@ -248,6 +258,15 @@ void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg, |
} |
+void Assembler::emit_vex_prefix(Register reg, Register vreg, const Operand& rm, |
+ VectorLength l, SIMDPrefix pp, LeadingOpcode mm, |
+ VexW w) { |
+ XMMRegister ireg = {reg.code()}; |
+ XMMRegister ivreg = {vreg.code()}; |
+ emit_vex_prefix(ireg, ivreg, rm, l, pp, mm, w); |
+} |
+ |
+ |
Address Assembler::target_address_at(Address pc, |
ConstantPoolArray* constant_pool) { |
return Memory::int32_at(pc) + pc + 4; |