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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.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 "src/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 IA32OperandGenerator g(this); 1007 IA32OperandGenerator g(this);
1008 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat32Abs, kSSEFloat32Abs); 1008 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat32Abs, kSSEFloat32Abs);
1009 } 1009 }
1010 1010
1011 1011
1012 void InstructionSelector::VisitFloat64Abs(Node* node) { 1012 void InstructionSelector::VisitFloat64Abs(Node* node) {
1013 IA32OperandGenerator g(this); 1013 IA32OperandGenerator g(this);
1014 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat64Abs, kSSEFloat64Abs); 1014 VisitFloatUnop(this, node, node->InputAt(0), kAVXFloat64Abs, kSSEFloat64Abs);
1015 } 1015 }
1016 1016
1017 void InstructionSelector::VisitFloat64Log(Node* node) {
1018 VisitRR(this, node, kX87Float64Log);
1019 }
1017 1020
1018 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1021 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1019 VisitRO(this, node, kSSEFloat32Sqrt); 1022 VisitRO(this, node, kSSEFloat32Sqrt);
1020 } 1023 }
1021 1024
1022 1025
1023 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1026 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1024 VisitRO(this, node, kSSEFloat64Sqrt); 1027 VisitRO(this, node, kSSEFloat64Sqrt);
1025 } 1028 }
1026 1029
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 // static 1665 // static
1663 MachineOperatorBuilder::AlignmentRequirements 1666 MachineOperatorBuilder::AlignmentRequirements
1664 InstructionSelector::AlignmentRequirements() { 1667 InstructionSelector::AlignmentRequirements() {
1665 return MachineOperatorBuilder::AlignmentRequirements:: 1668 return MachineOperatorBuilder::AlignmentRequirements::
1666 FullUnalignedAccessSupport(); 1669 FullUnalignedAccessSupport();
1667 } 1670 }
1668 1671
1669 } // namespace compiler 1672 } // namespace compiler
1670 } // namespace internal 1673 } // namespace internal
1671 } // namespace v8 1674 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698