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 7420841635d9594ed329ae5d2d56a781372f3d2c..abe921b045f0a69596a8ddb5e8094de9a88b54e6 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -493,6 +493,11 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} |
break; |
} |
+ case kSSEFloat64ToUint32: { |
+ // TODO(turbofan): X64 SSE cvttsd2siq should support operands. |
+ __ cvttsd2siq(i.OutputRegister(), i.InputDoubleRegister(0)); |
+ break; |
+ } |
case kSSEInt32ToFloat64: { |
RegisterOrOperand input = i.InputRegisterOrOperand(0); |
if (input.type == kRegister) { |
@@ -502,6 +507,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} |
break; |
} |
+ case kSSEUint32ToFloat64: { |
+ // TODO(turbofan): X64 SSE cvtqsi2sd should support operands. |
+ __ cvtqsi2sd(i.OutputDoubleRegister(), i.InputRegister(0)); |
+ break; |
+ } |
+ |
case kSSELoad: |
__ movsd(i.OutputDoubleRegister(), i.MemoryOperand()); |
break; |