Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index fb4895157b5f8cbd1dd50c2fb5f237ab7ea295ed..5f7e5cf4813847bcdcb6e0d337027012ab28f270 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -1356,7 +1356,10 @@ void InstructionSelector::VisitFloat64Abs(Node* node) { |
} |
void InstructionSelector::VisitFloat64Log(Node* node) { |
- VisitRR(this, node, kX87Float64Log); |
+ X64OperandGenerator g(this); |
+ Emit(kIeee754Float64Log, g.DefineAsFixed(node, xmm0), |
+ g.UseFixed(node->InputAt(0), xmm0)) |
+ ->MarkAsCall(); |
} |
void InstructionSelector::VisitFloat64Sqrt(Node* node) { |