Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index 961213afee9401e190ee85506e0e81f672ca43c5..8c35b54a8f7e6ab2728f0c9e5e29e36e45ddb8bb 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -588,7 +588,9 @@ void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
} |
-void InstructionSelector::VisitFloat64RoundUp(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
+ VisitRR(this, kMipsFloat64RoundUp, node); |
+} |
void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
@@ -602,7 +604,7 @@ void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
- UNREACHABLE(); |
+ VisitRR(this, kMipsFloat64RoundTiesEven, node); |
} |
@@ -1110,7 +1112,9 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
if ((IsMipsArchVariant(kMips32r2) || IsMipsArchVariant(kMips32r6)) && |
IsFp64Mode()) { |
flags |= MachineOperatorBuilder::kFloat64RoundDown | |
- MachineOperatorBuilder::kFloat64RoundTruncate; |
+ MachineOperatorBuilder::kFloat64RoundUp | |
+ MachineOperatorBuilder::kFloat64RoundTruncate | |
+ MachineOperatorBuilder::kFloat64RoundTiesEven; |
} |
return flags | MachineOperatorBuilder::kFloat64Min | |
MachineOperatorBuilder::kFloat64Max | |