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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.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 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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 VisitRR(this, kArm64Float32Abs, node); 1682 VisitRR(this, kArm64Float32Abs, node);
1683 } 1683 }
1684 1684
1685 1685
1686 void InstructionSelector::VisitFloat64Abs(Node* node) { 1686 void InstructionSelector::VisitFloat64Abs(Node* node) {
1687 VisitRR(this, kArm64Float64Abs, node); 1687 VisitRR(this, kArm64Float64Abs, node);
1688 } 1688 }
1689 1689
1690 void InstructionSelector::VisitFloat64Log(Node* node) { 1690 void InstructionSelector::VisitFloat64Log(Node* node) {
1691 Arm64OperandGenerator g(this); 1691 Arm64OperandGenerator g(this);
1692 Emit(kArm64Float64Log, g.DefineAsFixed(node, d0), 1692 Emit(kIeee754Float64Log, g.DefineAsFixed(node, d0),
1693 g.UseFixed(node->InputAt(0), d0)) 1693 g.UseFixed(node->InputAt(0), d0))
1694 ->MarkAsCall(); 1694 ->MarkAsCall();
1695 } 1695 }
1696 1696
1697 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1697 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1698 VisitRR(this, kArm64Float32Sqrt, node); 1698 VisitRR(this, kArm64Float32Sqrt, node);
1699 } 1699 }
1700 1700
1701 1701
1702 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1702 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 // static 2477 // static
2478 MachineOperatorBuilder::AlignmentRequirements 2478 MachineOperatorBuilder::AlignmentRequirements
2479 InstructionSelector::AlignmentRequirements() { 2479 InstructionSelector::AlignmentRequirements() {
2480 return MachineOperatorBuilder::AlignmentRequirements:: 2480 return MachineOperatorBuilder::AlignmentRequirements::
2481 FullUnalignedAccessSupport(); 2481 FullUnalignedAccessSupport();
2482 } 2482 }
2483 2483
2484 } // namespace compiler 2484 } // namespace compiler
2485 } // namespace internal 2485 } // namespace internal
2486 } // namespace v8 2486 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-scheduler-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698