| 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 <algorithm> | 5 #include <algorithm> |
| 6 | 6 |
| 7 #include "src/base/adapters.h" | 7 #include "src/base/adapters.h" |
| 8 #include "src/compiler/instruction-selector-impl.h" | 8 #include "src/compiler/instruction-selector-impl.h" |
| 9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1398 | 1398 |
| 1399 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 1399 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 1400 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); | 1400 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 | 1403 |
| 1404 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1404 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
| 1405 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); | 1405 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); |
| 1406 } | 1406 } |
| 1407 | 1407 |
| 1408 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
| 1409 |
| 1410 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
| 1408 | 1411 |
| 1409 void InstructionSelector::EmitPrepareArguments( | 1412 void InstructionSelector::EmitPrepareArguments( |
| 1410 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, | 1413 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
| 1411 Node* node) { | 1414 Node* node) { |
| 1412 X64OperandGenerator g(this); | 1415 X64OperandGenerator g(this); |
| 1413 | 1416 |
| 1414 // Prepare for C function call. | 1417 // Prepare for C function call. |
| 1415 if (descriptor->IsCFunctionCall()) { | 1418 if (descriptor->IsCFunctionCall()) { |
| 1416 Emit(kArchPrepareCallCFunction | | 1419 Emit(kArchPrepareCallCFunction | |
| 1417 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), | 1420 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2113 // static | 2116 // static |
| 2114 MachineOperatorBuilder::AlignmentRequirements | 2117 MachineOperatorBuilder::AlignmentRequirements |
| 2115 InstructionSelector::AlignmentRequirements() { | 2118 InstructionSelector::AlignmentRequirements() { |
| 2116 return MachineOperatorBuilder::AlignmentRequirements:: | 2119 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2117 FullUnalignedAccessSupport(); | 2120 FullUnalignedAccessSupport(); |
| 2118 } | 2121 } |
| 2119 | 2122 |
| 2120 } // namespace compiler | 2123 } // namespace compiler |
| 2121 } // namespace internal | 2124 } // namespace internal |
| 2122 } // namespace v8 | 2125 } // namespace v8 |
| OLD | NEW |