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/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 | 1062 |
1063 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 1063 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
1064 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); | 1064 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); |
1065 } | 1065 } |
1066 | 1066 |
1067 | 1067 |
1068 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1068 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
1069 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); | 1069 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); |
1070 } | 1070 } |
1071 | 1071 |
| 1072 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
| 1073 |
| 1074 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
1072 | 1075 |
1073 void InstructionSelector::EmitPrepareArguments( | 1076 void InstructionSelector::EmitPrepareArguments( |
1074 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, | 1077 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
1075 Node* node) { | 1078 Node* node) { |
1076 IA32OperandGenerator g(this); | 1079 IA32OperandGenerator g(this); |
1077 | 1080 |
1078 // Prepare for C function call. | 1081 // Prepare for C function call. |
1079 if (descriptor->IsCFunctionCall()) { | 1082 if (descriptor->IsCFunctionCall()) { |
1080 InstructionOperand temps[] = {g.TempRegister()}; | 1083 InstructionOperand temps[] = {g.TempRegister()}; |
1081 size_t const temp_count = arraysize(temps); | 1084 size_t const temp_count = arraysize(temps); |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1659 // static | 1662 // static |
1660 MachineOperatorBuilder::AlignmentRequirements | 1663 MachineOperatorBuilder::AlignmentRequirements |
1661 InstructionSelector::AlignmentRequirements() { | 1664 InstructionSelector::AlignmentRequirements() { |
1662 return MachineOperatorBuilder::AlignmentRequirements:: | 1665 return MachineOperatorBuilder::AlignmentRequirements:: |
1663 FullUnalignedAccessSupport(); | 1666 FullUnalignedAccessSupport(); |
1664 } | 1667 } |
1665 | 1668 |
1666 } // namespace compiler | 1669 } // namespace compiler |
1667 } // namespace internal | 1670 } // namespace internal |
1668 } // namespace v8 | 1671 } // namespace v8 |
OLD | NEW |