Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index 426b5c65ccddb11d1219a4ef4daefccfcb30926a..f52639d873696878060229a452f3e583aa3e381d 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -971,6 +971,14 @@ void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
} |
+void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) { |
+ X64OperandGenerator g(this); |
+ InstructionOperand temps[] = {g.TempRegister()}; |
+ Emit(kSSEUint64ToFloat32, g.DefineAsRegister(node), g.Use(node->InputAt(0)), |
+ arraysize(temps), temps); |
+} |
+ |
+ |
void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { |
X64OperandGenerator g(this); |
InstructionOperand temps[] = {g.TempRegister()}; |