Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index 48185a676ffb495c5104f86ff9998be100b74046..4127c312f21f8e777b4d0f1b4e1503a6d0c3a68e 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -601,28 +601,16 @@ void InstructionSelector::VisitFloat64Mod(Node* node) { |
} |
-void InstructionSelector::VisitFloat32Max(Node* node) { |
- DCHECK(kArchVariant == kMips64r6); |
- VisitRRR(this, kMips64MaxS, node); |
-} |
+void InstructionSelector::VisitFloat32Max(Node* node) { UNREACHABLE(); } |
-void InstructionSelector::VisitFloat64Max(Node* node) { |
- DCHECK(kArchVariant == kMips64r6); |
- VisitRRR(this, kMips64MaxD, node); |
-} |
+void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } |
-void InstructionSelector::VisitFloat32Min(Node* node) { |
- DCHECK(kArchVariant == kMips64r6); |
- VisitRRR(this, kMips64MinS, node); |
-} |
+void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); } |
-void InstructionSelector::VisitFloat64Min(Node* node) { |
- DCHECK(kArchVariant == kMips64r6); |
- VisitRRR(this, kMips64MinD, node); |
-} |
+void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } |
void InstructionSelector::VisitFloat32Abs(Node* node) { |
@@ -1307,16 +1295,8 @@ void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
// static |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |
- MachineOperatorBuilder::Flags flags = |
- MachineOperatorBuilder::kFloat64RoundDown | |
- MachineOperatorBuilder::kFloat64RoundTruncate; |
- if (kArchVariant == kMips64r6) { |
- flags |= MachineOperatorBuilder::kFloat32Max | |
- MachineOperatorBuilder::kFloat32Min | |
- MachineOperatorBuilder::kFloat64Max | |
- MachineOperatorBuilder::kFloat64Min; |
- } |
- return flags; |
+ return MachineOperatorBuilder::kFloat64RoundDown | |
+ MachineOperatorBuilder::kFloat64RoundTruncate; |
} |
} // namespace compiler |