Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: src/compiler/x64/instruction-selector-x64.cc

Issue 2053893003: [builtins] Introduce proper base::ieee754::log. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: BUILD.gn Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/x64/instruction-scheduler-x64.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/compiler/x64/instruction-scheduler-x64.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698