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 ded5725e6f8fb98853a6f56f3f2cb3ee54f7a8c1..b0dce45df5bf09474718bfc42e8d791516ec6b88 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -1135,6 +1135,11 @@ void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
} |
+void InstructionSelector::VisitFloat32RoundTruncate(Node* node) { |
+ VisitRR(this, kArmVrintzF32, node); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
VisitRR(this, kArmVrintzF64, node); |
} |
@@ -1579,6 +1584,7 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
MachineOperatorBuilder::kFloat64RoundDown | |
MachineOperatorBuilder::kFloat32RoundUp | |
MachineOperatorBuilder::kFloat64RoundUp | |
+ MachineOperatorBuilder::kFloat32RoundTruncate | |
MachineOperatorBuilder::kFloat64RoundTruncate | |
MachineOperatorBuilder::kFloat64RoundTiesAway | |
MachineOperatorBuilder::kFloat64RoundTiesEven; |