Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index a4412d0b3fd46eebb10bd6ffc4ed277fe6fa30b4..37860a3cd154d5314a76724264b65ad19d7d26d8 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2347,7 +2347,7 @@ void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { |
EMIT(0x0F); |
EMIT(0x3A); |
EMIT(0x17); |
- emit_sse_operand(dst, src); |
+ emit_sse_operand(src, dst); |
EMIT(imm8); |
} |
@@ -2486,6 +2486,11 @@ void Assembler::emit_sse_operand(Register dst, XMMRegister src) { |
} |
+void Assembler::emit_sse_operand(XMMRegister dst, Register src) { |
+ EMIT(0xC0 | (dst.code() << 3) | src.code()); |
+} |
+ |
+ |
void Assembler::Print() { |
Disassembler::Decode(isolate(), stdout, buffer_, pc_); |
} |