Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 3f3d34e7729bd4305261ebafd2621fa315bbd64d..5e63655e32bd3eb6dec8c3b5a460cf4154646252 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -1970,6 +1970,14 @@ void Assembler::fstp_d(const Operand& adr) { |
} |
+void Assembler::fstp(int index) { |
+ ASSERT(is_uint3(index)); |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit_farith(0xDD, 0xD8, index); |
+} |
+ |
+ |
void Assembler::fild_s(const Operand& adr) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
@@ -2258,18 +2266,7 @@ void Assembler::movsd(const Operand& dst, XMMRegister src) { |
} |
-void Assembler::movsd(Register dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- last_pc_ = pc_; |
- emit(0xF2); // double |
- emit_optional_rex_32(src, dst); |
- emit(0x0F); |
- emit(0x11); // store |
- emit_sse_operand(src, dst); |
-} |
- |
- |
-void Assembler::movsd(XMMRegister dst, Register src) { |
+void Assembler::movsd(XMMRegister dst, XMMRegister src) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
emit(0xF2); // double |