Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index b2c1c9d74b89c953cac7b64a1bd021d14eb8ec26..15b219081b0afd9b24deed0703afd10b9e99939c 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -3898,7 +3898,6 @@ void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, |
emit_sse_operand(dst, src2); |
} |
- |
void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, |
const Operand& src2) { |
DCHECK(IsEnabled(AVX)); |
@@ -3908,6 +3907,14 @@ void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, |
emit_sse_operand(dst, src2); |
} |
+void Assembler::vps(byte op, const Operand& dst, XMMRegister src1, |
+ XMMRegister src2) { |
+ DCHECK(IsEnabled(AVX)); |
+ EnsureSpace ensure_space(this); |
+ emit_vex_prefix(src2, src1, dst, kL128, kNone, k0F, kWIG); |
+ emit(op); |
+ emit_sse_operand(src2, dst); |
+} |
void Assembler::vpd(byte op, XMMRegister dst, XMMRegister src1, |
XMMRegister src2) { |