Index: src/ia32/assembler-ia32.cc |
=================================================================== |
--- src/ia32/assembler-ia32.cc (revision 6672) |
+++ src/ia32/assembler-ia32.cc (working copy) |
@@ -2559,6 +2559,19 @@ |
} |
+void Assembler::pinsrd(XMMRegister dst, const Operand& src, int8_t offset) { |
+ ASSERT(CpuFeatures::IsEnabled(SSE4_1)); |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ EMIT(0x66); |
+ EMIT(0x0F); |
+ EMIT(0x3A); |
+ EMIT(0x22); |
+ emit_sse_operand(dst, src); |
+ EMIT(offset); |
+} |
+ |
+ |
void Assembler::emit_sse_operand(XMMRegister reg, const Operand& adr) { |
Register ireg = { reg.code() }; |
emit_operand(ireg, adr); |