Index: src/x64/assembler-x64.cc |
=================================================================== |
--- src/x64/assembler-x64.cc (revision 4383) |
+++ src/x64/assembler-x64.cc (working copy) |
@@ -2385,6 +2385,17 @@ |
// SSE 2 operations. |
+void Assembler::movd(XMMRegister dst, Register src) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit(0x66); |
+ emit_optional_rex_32(dst, src); |
+ emit(0x0F); |
+ emit(0x6E); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::movsd(const Operand& dst, XMMRegister src) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
@@ -2473,6 +2484,17 @@ |
} |
+void Assembler::cvtss2sd(XMMRegister dst, XMMRegister src) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit(0xF3); |
+ emit_optional_rex_32(dst, src); |
+ emit(0x0F); |
+ emit(0x5A); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::addsd(XMMRegister dst, XMMRegister src) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |