Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index dfdfb44544add4ef3269b3c87fd0b2a8a0cf562a..b48656af35702936e86ed07dbd6e944f0fd5284d 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -893,6 +893,8 @@ class MacroAssembler: public Assembler { |
void Move(XMMRegister dst, uint32_t src); |
void Move(XMMRegister dst, uint64_t src); |
+ void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } |
+ void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } |
// Control Flow |
void Jump(Address destination, RelocInfo::Mode rmode); |