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

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

Issue 2065503002: [builtins] Introduce proper Float64Atan and Float64Atan2 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [WIP] Fix GCC/Win32. 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
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 } 1742 }
1743 1743
1744 void InstructionSelector::VisitFloat32Neg(Node* node) { 1744 void InstructionSelector::VisitFloat32Neg(Node* node) {
1745 VisitRR(this, kArm64Float32Neg, node); 1745 VisitRR(this, kArm64Float32Neg, node);
1746 } 1746 }
1747 1747
1748 void InstructionSelector::VisitFloat64Neg(Node* node) { 1748 void InstructionSelector::VisitFloat64Neg(Node* node) {
1749 VisitRR(this, kArm64Float64Neg, node); 1749 VisitRR(this, kArm64Float64Neg, node);
1750 } 1750 }
1751 1751
1752 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node,
1753 InstructionCode opcode) {
1754 Arm64OperandGenerator g(this);
1755 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0),
1756 g.UseFixed(node->InputAt(1), d1))
1757 ->MarkAsCall();
1758 }
1759
1752 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, 1760 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node,
1753 InstructionCode opcode) { 1761 InstructionCode opcode) {
1754 Arm64OperandGenerator g(this); 1762 Arm64OperandGenerator g(this);
1755 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) 1763 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0))
1756 ->MarkAsCall(); 1764 ->MarkAsCall();
1757 } 1765 }
1758 1766
1759 void InstructionSelector::EmitPrepareArguments( 1767 void InstructionSelector::EmitPrepareArguments(
1760 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1768 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1761 Node* node) { 1769 Node* node) {
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 // static 2485 // static
2478 MachineOperatorBuilder::AlignmentRequirements 2486 MachineOperatorBuilder::AlignmentRequirements
2479 InstructionSelector::AlignmentRequirements() { 2487 InstructionSelector::AlignmentRequirements() {
2480 return MachineOperatorBuilder::AlignmentRequirements:: 2488 return MachineOperatorBuilder::AlignmentRequirements::
2481 FullUnalignedAccessSupport(); 2489 FullUnalignedAccessSupport();
2482 } 2490 }
2483 2491
2484 } // namespace compiler 2492 } // namespace compiler
2485 } // namespace internal 2493 } // namespace internal
2486 } // namespace v8 2494 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698