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

Side by Side Diff: src/compiler/x64/instruction-selector-x64.cc

Issue 2029413005: [builtins] Migrate Math.log to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 6
7 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 #include "src/compiler/instruction-selector-impl.h" 8 #include "src/compiler/instruction-selector-impl.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1348 1348
1349 void InstructionSelector::VisitFloat64Min(Node* node) { 1349 void InstructionSelector::VisitFloat64Min(Node* node) {
1350 VisitFloatBinop(this, node, kAVXFloat64Min, kSSEFloat64Min); 1350 VisitFloatBinop(this, node, kAVXFloat64Min, kSSEFloat64Min);
1351 } 1351 }
1352 1352
1353 1353
1354 void InstructionSelector::VisitFloat64Abs(Node* node) { 1354 void InstructionSelector::VisitFloat64Abs(Node* node) {
1355 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat64Abs, kSSEFloat64Abs); 1355 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat64Abs, kSSEFloat64Abs);
1356 } 1356 }
1357 1357
1358 void InstructionSelector::VisitFloat64Log(Node* node) {
1359 VisitRR(this, node, kX87Float64Log);
1360 }
1358 1361
1359 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1362 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1360 VisitRO(this, node, kSSEFloat64Sqrt); 1363 VisitRO(this, node, kSSEFloat64Sqrt);
1361 } 1364 }
1362 1365
1363 1366
1364 void InstructionSelector::VisitFloat32RoundDown(Node* node) { 1367 void InstructionSelector::VisitFloat32RoundDown(Node* node) {
1365 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundDown)); 1368 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundDown));
1366 } 1369 }
1367 1370
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 // static 2119 // static
2117 MachineOperatorBuilder::AlignmentRequirements 2120 MachineOperatorBuilder::AlignmentRequirements
2118 InstructionSelector::AlignmentRequirements() { 2121 InstructionSelector::AlignmentRequirements() {
2119 return MachineOperatorBuilder::AlignmentRequirements:: 2122 return MachineOperatorBuilder::AlignmentRequirements::
2120 FullUnalignedAccessSupport(); 2123 FullUnalignedAccessSupport();
2121 } 2124 }
2122 2125
2123 } // namespace compiler 2126 } // namespace compiler
2124 } // namespace internal 2127 } // namespace internal
2125 } // namespace v8 2128 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698