Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 01103b234f961eddd5f02dde8bef3ac66addc12b..6e44253ed5218d40cd45395fff2ec337380a89ad 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -2761,6 +2761,16 @@ void Assembler::cvtsd2ss(XMMRegister dst, XMMRegister src) { |
} |
+void Assembler::cvtsd2ss(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ emit(0xF2); |
+ emit_optional_rex_32(dst, src); |
+ emit(0x0F); |
+ emit(0x5A); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::cvtsd2si(Register dst, XMMRegister src) { |
EnsureSpace ensure_space(this); |
emit(0xF2); |