Index: src/compiler/arm64/instruction-selector-arm64.cc |
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc |
index 4d2927232e5b3b99148f5331676c0227f9940e52..bf7d54dfe3a71ac250ab39e6b72dca0f6fd289f5 100644 |
--- a/src/compiler/arm64/instruction-selector-arm64.cc |
+++ b/src/compiler/arm64/instruction-selector-arm64.cc |
@@ -1369,16 +1369,24 @@ void InstructionSelector::VisitFloat64Mod(Node* node) { |
} |
-void InstructionSelector::VisitFloat32Max(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat32Max(Node* node) { |
+ VisitRRR(this, kArm64Float32Max, node); |
+} |
-void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat64Max(Node* node) { |
+ VisitRRR(this, kArm64Float64Max, node); |
+} |
-void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat32Min(Node* node) { |
+ VisitRRR(this, kArm64Float32Min, node); |
+} |
-void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat64Min(Node* node) { |
+ VisitRRR(this, kArm64Float64Min, node); |
+} |
void InstructionSelector::VisitFloat32Abs(Node* node) { |
@@ -1958,7 +1966,11 @@ void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
// static |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |
- return MachineOperatorBuilder::kFloat64RoundDown | |
+ return MachineOperatorBuilder::kFloat32Max | |
+ MachineOperatorBuilder::kFloat32Min | |
+ MachineOperatorBuilder::kFloat64Max | |
+ MachineOperatorBuilder::kFloat64Min | |
+ MachineOperatorBuilder::kFloat64RoundDown | |
MachineOperatorBuilder::kFloat64RoundTruncate | |
MachineOperatorBuilder::kFloat64RoundTiesAway | |
MachineOperatorBuilder::kWord32ShiftIsSafe | |