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 a37ebf21df963b2852cfe98599dddc5950f74834..ae93b27f453f0767343202b036a4c2dd87f182e4 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -90,6 +90,7 @@ class ArmOperandGenerator FINAL : public OperandGenerator { |
case kArmVdivF64: |
case kArmVmodF64: |
case kArmVnegF64: |
+ case kArmVsqrtF64: |
case kArmVcvtF64S32: |
case kArmVcvtF64U32: |
case kArmVcvtS32F64: |
@@ -768,6 +769,12 @@ void InstructionSelector::VisitFloat64Mod(Node* node) { |
} |
+void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
+ ArmOperandGenerator g(this); |
+ Emit(kArmVsqrtF64, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, |
BasicBlock* deoptimization) { |
ArmOperandGenerator g(this); |