Index: runtime/vm/assembler_ia32.cc |
diff --git a/runtime/vm/assembler_ia32.cc b/runtime/vm/assembler_ia32.cc |
index 9d2f4096ce1925e3aa1bb7542fa1b36cea23a8d9..c0719369c6fe2aa803548ff1b2cad95b89eee40b 100644 |
--- a/runtime/vm/assembler_ia32.cc |
+++ b/runtime/vm/assembler_ia32.cc |
@@ -921,6 +921,17 @@ void Assembler::cvtpd2ps(XmmRegister dst, XmmRegister src) { |
} |
+void Assembler::shufpd(XmmRegister dst, XmmRegister src, const Immediate& imm) { |
+ AssemblerBuffer::EnsureCapacity ensured(&buffer_); |
+ EmitUint8(0x66); |
+ EmitUint8(0x0F); |
+ EmitUint8(0xC6); |
+ EmitXmmRegisterOperand(dst, src); |
+ ASSERT(imm.is_uint8()); |
+ EmitUint8(imm.value()); |
+} |
+ |
+ |
void Assembler::subsd(XmmRegister dst, XmmRegister src) { |
AssemblerBuffer::EnsureCapacity ensured(&buffer_); |
EmitUint8(0xF2); |