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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 VisitRR(this, kArmVabsF32, node); | 1388 VisitRR(this, kArmVabsF32, node); |
1389 } | 1389 } |
1390 | 1390 |
1391 | 1391 |
1392 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1392 void InstructionSelector::VisitFloat64Abs(Node* node) { |
1393 VisitRR(this, kArmVabsF64, node); | 1393 VisitRR(this, kArmVabsF64, node); |
1394 } | 1394 } |
1395 | 1395 |
1396 void InstructionSelector::VisitFloat64Log(Node* node) { | 1396 void InstructionSelector::VisitFloat64Log(Node* node) { |
1397 ArmOperandGenerator g(this); | 1397 ArmOperandGenerator g(this); |
1398 Emit(kArmVlogF64, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) | 1398 Emit(kIeee754Float64Log, g.DefineAsFixed(node, d0), |
| 1399 g.UseFixed(node->InputAt(0), d0)) |
1399 ->MarkAsCall(); | 1400 ->MarkAsCall(); |
1400 } | 1401 } |
1401 | 1402 |
1402 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1403 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
1403 VisitRR(this, kArmVsqrtF32, node); | 1404 VisitRR(this, kArmVsqrtF32, node); |
1404 } | 1405 } |
1405 | 1406 |
1406 | 1407 |
1407 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1408 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
1408 VisitRR(this, kArmVsqrtF64, node); | 1409 VisitRR(this, kArmVsqrtF64, node); |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1997 // static | 1998 // static |
1998 MachineOperatorBuilder::AlignmentRequirements | 1999 MachineOperatorBuilder::AlignmentRequirements |
1999 InstructionSelector::AlignmentRequirements() { | 2000 InstructionSelector::AlignmentRequirements() { |
2000 return MachineOperatorBuilder::AlignmentRequirements:: | 2001 return MachineOperatorBuilder::AlignmentRequirements:: |
2001 FullUnalignedAccessSupport(); | 2002 FullUnalignedAccessSupport(); |
2002 } | 2003 } |
2003 | 2004 |
2004 } // namespace compiler | 2005 } // namespace compiler |
2005 } // namespace internal | 2006 } // namespace internal |
2006 } // namespace v8 | 2007 } // namespace v8 |
OLD | NEW |