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 e6bc931c13692098e9570c5d67ad7e0b228b3334..4c353694e892302cb54056192a92de46e2a8999e 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -802,6 +802,11 @@ void InstructionSelector::VisitFloat64Mod(Node* node) { |
g.UseFixed(node->InputAt(1), f14))->MarkAsCall(); |
} |
+void InstructionSelector::VisitFloat32Max(Node* node) { |
+ MipsOperandGenerator g(this); |
+ Emit(kMipsFloat32Max, g.DefineAsRegister(node), |
+ g.UseRegister(node->InputAt(0)), g.UseRegister(node->InputAt(1))); |
+} |
void InstructionSelector::VisitFloat64Max(Node* node) { |
MipsOperandGenerator g(this); |
@@ -809,6 +814,11 @@ void InstructionSelector::VisitFloat64Max(Node* node) { |
g.UseRegister(node->InputAt(0)), g.UseRegister(node->InputAt(1))); |
} |
+void InstructionSelector::VisitFloat32Min(Node* node) { |
+ MipsOperandGenerator g(this); |
+ Emit(kMipsFloat32Min, g.DefineAsRegister(node), |
+ g.UseRegister(node->InputAt(0)), g.UseRegister(node->InputAt(1))); |
+} |
void InstructionSelector::VisitFloat64Min(Node* node) { |
MipsOperandGenerator g(this); |