Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 2b6583ca780f30a7c54bffc3f29522c2728b21a7..289356af47f50064d1fb9d7086194c0c0afcbefa 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -1009,6 +1009,11 @@ void InstructionSelector::VisitFloat64Abs(Node* node) { |
Emit(kX87Float64Abs, g.DefineAsFixed(node, stX_0), 0, nullptr); |
} |
+void InstructionSelector::VisitFloat64Log(Node* node) { |
+ X87OperandGenerator g(this); |
+ Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0))); |
+ Emit(kX87Float64Log, g.DefineAsFixed(node, stX_0), 0, nullptr); |
+} |
void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
X87OperandGenerator g(this); |