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 2cd8095f1e996106868f8559f9f8eafb89c4b256..1d1cb312b4204a6158cf7c4ffbb5a3518c4801ca 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -1282,6 +1282,12 @@ void InstructionSelector::VisitFloat64Abs(Node* node) { |
VisitRR(this, kMips64AbsD, node); |
} |
+void InstructionSelector::VisitFloat64Log(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Emit(kMips64LogD, g.DefineAsFixed(node, f0), |
+ g.UseFixed(node->InputAt(0), f12)) |
+ ->MarkAsCall(); |
+} |
void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
VisitRR(this, kMips64SqrtS, node); |