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 19c81262fd4aa91130016d1ed9799c841a30994e..5d6f2afd18e378d3dad7b53ee5252a06839e5835 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -1120,6 +1120,11 @@ void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
} |
+void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
+ VisitRR(this, kArmVrintpF64, node); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
VisitRR(this, kArmVrintzF64, node); |
} |
@@ -1556,6 +1561,7 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
MachineOperatorBuilder::kUint32DivIsSafe; |
if (CpuFeatures::IsSupported(ARMv8)) { |
flags |= MachineOperatorBuilder::kFloat64RoundDown | |
+ MachineOperatorBuilder::kFloat64RoundUp | |
MachineOperatorBuilder::kFloat64RoundTruncate | |
MachineOperatorBuilder::kFloat64RoundTiesAway; |
} |