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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.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/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 } 1448 }
1449 1449
1450 void InstructionSelector::VisitFloat32Neg(Node* node) { 1450 void InstructionSelector::VisitFloat32Neg(Node* node) {
1451 VisitRR(this, kArmVnegF32, node); 1451 VisitRR(this, kArmVnegF32, node);
1452 } 1452 }
1453 1453
1454 void InstructionSelector::VisitFloat64Neg(Node* node) { 1454 void InstructionSelector::VisitFloat64Neg(Node* node) {
1455 VisitRR(this, kArmVnegF64, node); 1455 VisitRR(this, kArmVnegF64, node);
1456 } 1456 }
1457 1457
1458 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node,
1459 InstructionCode opcode) {
1460 ArmOperandGenerator g(this);
1461 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0),
1462 g.UseFixed(node->InputAt(1), d1))
1463 ->MarkAsCall();
1464 }
1465
1458 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, 1466 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node,
1459 InstructionCode opcode) { 1467 InstructionCode opcode) {
1460 ArmOperandGenerator g(this); 1468 ArmOperandGenerator g(this);
1461 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) 1469 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0))
1462 ->MarkAsCall(); 1470 ->MarkAsCall();
1463 } 1471 }
1464 1472
1465 void InstructionSelector::EmitPrepareArguments( 1473 void InstructionSelector::EmitPrepareArguments(
1466 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1474 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1467 Node* node) { 1475 Node* node) {
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 // static 2006 // static
1999 MachineOperatorBuilder::AlignmentRequirements 2007 MachineOperatorBuilder::AlignmentRequirements
2000 InstructionSelector::AlignmentRequirements() { 2008 InstructionSelector::AlignmentRequirements() {
2001 return MachineOperatorBuilder::AlignmentRequirements:: 2009 return MachineOperatorBuilder::AlignmentRequirements::
2002 FullUnalignedAccessSupport(); 2010 FullUnalignedAccessSupport();
2003 } 2011 }
2004 2012
2005 } // namespace compiler 2013 } // namespace compiler
2006 } // namespace internal 2014 } // namespace internal
2007 } // namespace v8 2015 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698