OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/compiler/instruction-scheduler.h" | 5 #include "src/compiler/instruction-scheduler.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 namespace compiler { | 9 namespace compiler { |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 case kArmUint8x16SubSaturate: | 187 case kArmUint8x16SubSaturate: |
188 case kArmUint8x16Min: | 188 case kArmUint8x16Min: |
189 case kArmUint8x16Max: | 189 case kArmUint8x16Max: |
190 case kArmUint8x16GreaterThan: | 190 case kArmUint8x16GreaterThan: |
191 case kArmUint8x16GreaterThanOrEqual: | 191 case kArmUint8x16GreaterThanOrEqual: |
192 case kArmSimd128Zero: | 192 case kArmSimd128Zero: |
193 case kArmSimd128And: | 193 case kArmSimd128And: |
194 case kArmSimd128Or: | 194 case kArmSimd128Or: |
195 case kArmSimd128Xor: | 195 case kArmSimd128Xor: |
196 case kArmSimd128Not: | 196 case kArmSimd128Not: |
197 case kArmSimd32x4Select: | 197 case kArmSimd128Select: |
198 case kArmSimd16x8Select: | 198 case kArmSimd1x4AnyTrue: |
199 case kArmSimd8x16Select: | 199 case kArmSimd1x4AllTrue: |
| 200 case kArmSimd1x8AnyTrue: |
| 201 case kArmSimd1x8AllTrue: |
| 202 case kArmSimd1x16AnyTrue: |
| 203 case kArmSimd1x16AllTrue: |
200 return kNoOpcodeFlags; | 204 return kNoOpcodeFlags; |
201 | 205 |
202 case kArmVldrF32: | 206 case kArmVldrF32: |
203 case kArmVldrF64: | 207 case kArmVldrF64: |
204 case kArmLdrb: | 208 case kArmLdrb: |
205 case kArmLdrsb: | 209 case kArmLdrsb: |
206 case kArmLdrh: | 210 case kArmLdrh: |
207 case kArmLdrsh: | 211 case kArmLdrsh: |
208 case kArmLdr: | 212 case kArmLdr: |
209 return kIsLoadOperation; | 213 return kIsLoadOperation; |
(...skipping 20 matching lines...) Expand all Loading... |
230 | 234 |
231 | 235 |
232 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 236 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
233 // TODO(all): Add instruction cost modeling. | 237 // TODO(all): Add instruction cost modeling. |
234 return 1; | 238 return 1; |
235 } | 239 } |
236 | 240 |
237 } // namespace compiler | 241 } // namespace compiler |
238 } // namespace internal | 242 } // namespace internal |
239 } // namespace v8 | 243 } // namespace v8 |
OLD | NEW |