Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 98caaeb897133bd73352fef683a155c284debd69..a3c19af7866bc144e2b2b37acce21ef7ce630f9b 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2665,6 +2665,26 @@ void Assembler::vss(byte op, XMMRegister dst, XMMRegister src1, |
} |
+void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, |
+ const Operand& src2) { |
+ DCHECK(IsEnabled(AVX)); |
+ EnsureSpace ensure_space(this); |
+ emit_vex_prefix(src1, kL128, kNone, k0F, kWIG); |
+ EMIT(op); |
+ emit_sse_operand(dst, src2); |
+} |
+ |
+ |
+void Assembler::vpd(byte op, XMMRegister dst, XMMRegister src1, |
+ const Operand& src2) { |
+ DCHECK(IsEnabled(AVX)); |
+ EnsureSpace ensure_space(this); |
+ emit_vex_prefix(src1, kL128, k66, k0F, kWIG); |
+ EMIT(op); |
+ emit_sse_operand(dst, src2); |
+} |
+ |
+ |
void Assembler::bmi1(byte op, Register reg, Register vreg, const Operand& rm) { |
DCHECK(IsEnabled(BMI1)); |
EnsureSpace ensure_space(this); |