Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index 03b0565487017a836ab5495016d06971ba1184f9..9c541007f2453f155845f5840e45b3d7b4c7a35b 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -659,6 +659,13 @@ void InstructionSelector::VisitConvertInt32ToFloat64(Node* node) { |
} |
+void InstructionSelector::VisitConvertUint32ToFloat64(Node* node) { |
+ ArmOperandGenerator g(this); |
+ Emit(kArmVcvtF64U32, g.DefineAsDoubleRegister(node), |
+ g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitConvertFloat64ToInt32(Node* node) { |
ArmOperandGenerator g(this); |
Emit(kArmVcvtS32F64, g.DefineAsRegister(node), |
@@ -666,6 +673,13 @@ void InstructionSelector::VisitConvertFloat64ToInt32(Node* node) { |
} |
+void InstructionSelector::VisitConvertFloat64ToUint32(Node* node) { |
+ ArmOperandGenerator g(this); |
+ Emit(kArmVcvtU32F64, g.DefineAsRegister(node), |
+ g.UseDoubleRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat64Add(Node* node) { |
ArmOperandGenerator g(this); |
Int32BinopMatcher m(node); |