Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 56260804806fd904a506bf5c776b2ee7005cf200..317c17e9330d0b7716d58066bceba16f50e67e7f 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -928,6 +928,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} |
__ cvtqsi2sd(i.OutputDoubleRegister(), kScratchRegister); |
break; |
+ case kSSEInt64ToFloat64: |
+ if (instr->InputAt(0)->IsRegister()) { |
+ __ cvtqsi2sd(i.OutputDoubleRegister(), i.InputRegister(0)); |
+ } else { |
+ __ cvtqsi2sd(i.OutputDoubleRegister(), i.InputOperand(0)); |
+ } |
+ break; |
case kSSEFloat64ExtractLowWord32: |
if (instr->InputAt(0)->IsDoubleStackSlot()) { |
__ movl(i.OutputRegister(), i.InputOperand(0)); |