Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index aedfa07166cec625a2776fa3722dba54e79d2f40..a92196d74cd34457e4fab08f15d22a677ebd6469 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -2554,15 +2554,15 @@ void Assembler::movdqu(XMMRegister dst, const Operand& src) { |
void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { |
- ASSERT(CpuFeatures::IsSupported(SSE4_1)); |
+ ASSERT(IsEnabled(SSE4_1)); |
ASSERT(is_uint8(imm8)); |
EnsureSpace ensure_space(this); |
emit(0x66); |
- emit_optional_rex_32(dst, src); |
+ emit_optional_rex_32(src, dst); |
emit(0x0F); |
emit(0x3A); |
emit(0x17); |
- emit_sse_operand(dst, src); |
+ emit_sse_operand(src, dst); |
emit(imm8); |
} |