| 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 #include "src/ppc/frames-ppc.h" | 9 #include "src/ppc/frames-ppc.h" |
| 10 | 10 |
| (...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2116 Emit(opcode | AddressingModeField::encode(kMode_MRR), | 2116 Emit(opcode | AddressingModeField::encode(kMode_MRR), |
| 2117 0, nullptr, input_count, inputs); | 2117 0, nullptr, input_count, inputs); |
| 2118 } | 2118 } |
| 2119 | 2119 |
| 2120 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } | 2120 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } |
| 2121 | 2121 |
| 2122 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { | 2122 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { |
| 2123 UNIMPLEMENTED(); | 2123 UNIMPLEMENTED(); |
| 2124 } | 2124 } |
| 2125 | 2125 |
| 2126 void InstructionSelector::VisitInt32AbsWithOverflow(Node* node) { |
| 2127 UNREACHABLE(); |
| 2128 } |
| 2129 |
| 2130 void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) { |
| 2131 UNREACHABLE(); |
| 2132 } |
| 2133 |
| 2126 // static | 2134 // static |
| 2127 MachineOperatorBuilder::Flags | 2135 MachineOperatorBuilder::Flags |
| 2128 InstructionSelector::SupportedMachineOperatorFlags() { | 2136 InstructionSelector::SupportedMachineOperatorFlags() { |
| 2129 return MachineOperatorBuilder::kFloat32RoundDown | | 2137 return MachineOperatorBuilder::kFloat32RoundDown | |
| 2130 MachineOperatorBuilder::kFloat64RoundDown | | 2138 MachineOperatorBuilder::kFloat64RoundDown | |
| 2131 MachineOperatorBuilder::kFloat32RoundUp | | 2139 MachineOperatorBuilder::kFloat32RoundUp | |
| 2132 MachineOperatorBuilder::kFloat64RoundUp | | 2140 MachineOperatorBuilder::kFloat64RoundUp | |
| 2133 MachineOperatorBuilder::kFloat32RoundTruncate | | 2141 MachineOperatorBuilder::kFloat32RoundTruncate | |
| 2134 MachineOperatorBuilder::kFloat64RoundTruncate | | 2142 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 2135 MachineOperatorBuilder::kFloat64RoundTiesAway | | 2143 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 2136 MachineOperatorBuilder::kWord32Popcnt | | 2144 MachineOperatorBuilder::kWord32Popcnt | |
| 2137 MachineOperatorBuilder::kWord64Popcnt; | 2145 MachineOperatorBuilder::kWord64Popcnt; |
| 2138 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 2146 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 2139 } | 2147 } |
| 2140 | 2148 |
| 2141 // static | 2149 // static |
| 2142 MachineOperatorBuilder::AlignmentRequirements | 2150 MachineOperatorBuilder::AlignmentRequirements |
| 2143 InstructionSelector::AlignmentRequirements() { | 2151 InstructionSelector::AlignmentRequirements() { |
| 2144 return MachineOperatorBuilder::AlignmentRequirements:: | 2152 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2145 FullUnalignedAccessSupport(); | 2153 FullUnalignedAccessSupport(); |
| 2146 } | 2154 } |
| 2147 | 2155 |
| 2148 } // namespace compiler | 2156 } // namespace compiler |
| 2149 } // namespace internal | 2157 } // namespace internal |
| 2150 } // namespace v8 | 2158 } // namespace v8 |
| OLD | NEW |