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

Unified Diff: src/compiler/ia32/instruction-selector-ia32.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/ia32/instruction-scheduler-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ia32/instruction-selector-ia32.cc
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc
index 20b8bdbc29bae16269ea397ab656631900055e1b..7c1cf43b5750051c722eac65c58a44eb98cf5aaf 100644
--- a/src/compiler/ia32/instruction-selector-ia32.cc
+++ b/src/compiler/ia32/instruction-selector-ia32.cc
@@ -1015,7 +1015,10 @@ void InstructionSelector::VisitFloat64Abs(Node* node) {
}
void InstructionSelector::VisitFloat64Log(Node* node) {
- VisitRR(this, node, kX87Float64Log);
+ IA32OperandGenerator g(this);
+ Emit(kIeee754Float64Log, g.DefineSameAsFirst(node),
+ g.UseRegister(node->InputAt(0)))
+ ->MarkAsCall();
}
void InstructionSelector::VisitFloat32Sqrt(Node* node) {
« no previous file with comments | « src/compiler/ia32/instruction-scheduler-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698