OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |