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 b8b9fd7bf0b920465bd28d5504cbb5f33954defa..01bfc9d916340d3c4cb76e1e80ec9290a5bed946 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -1310,6 +1310,11 @@ void InstructionSelector::VisitFloat64Abs(Node* node) { |
VisitRR(this, kPPC_AbsDouble, node); |
} |
+void InstructionSelector::VisitFloat64Log(Node* node) { |
+ PPCOperandGenerator g(this); |
+ Emit(kPPC_LogDouble, g.DefineAsFixed(node, d1), |
+ g.UseFixed(node->InputAt(0), d1))->MarkAsCall(); |
+} |
void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
VisitRR(this, kPPC_SqrtDouble | MiscField::encode(1), node); |