Index: src/compiler/ppc/instruction-selector-ppc.cc |
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc |
index d1bd936609719bc2284591c4111666391a125275..bad8ded1310344173c08549dea05455cb0c10477 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -1310,6 +1310,9 @@ void InstructionSelector::VisitFloat64Mod(Node* node) { |
g.UseFixed(node->InputAt(1), d2))->MarkAsCall(); |
} |
+void InstructionSelector::VisitFloat32Max(Node* node) { |
+ VisitRRR(this, kPPC_MaxDouble | MiscField::encode(1), node); |
+} |
void InstructionSelector::VisitFloat64Max(Node* node) { |
VisitRRR(this, kPPC_MaxDouble, node); |
@@ -1320,6 +1323,9 @@ void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { |
VisitRR(this, kPPC_Float64SilenceNaN, node); |
} |
+void InstructionSelector::VisitFloat32Min(Node* node) { |
+ VisitRRR(this, kPPC_MinDouble | MiscField::encode(1), node); |
+} |
void InstructionSelector::VisitFloat64Min(Node* node) { |
VisitRRR(this, kPPC_MinDouble, node); |