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 843013484fbcfaa71d30ef2dc26ec13a300a8cbb..071dc48337923543866065868c834d16b87df01d 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -939,6 +939,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Cvtlsi2sd(i.OutputDoubleRegister(), i.InputOperand(0)); |
} |
break; |
+ case kSSEInt64ToFloat64: |
+ if (instr->InputAt(0)->IsRegister()) { |
+ __ Cvtqsi2sd(i.OutputDoubleRegister(), i.InputRegister(0)); |
+ } else { |
+ __ Cvtqsi2sd(i.OutputDoubleRegister(), i.InputOperand(0)); |
+ } |
+ break; |
case kSSEUint32ToFloat64: |
if (instr->InputAt(0)->IsRegister()) { |
__ movl(kScratchRegister, i.InputRegister(0)); |