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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 case kArmF32x4UConvertI32x4: | 115 case kArmF32x4UConvertI32x4: |
116 case kArmF32x4Abs: | 116 case kArmF32x4Abs: |
117 case kArmF32x4Neg: | 117 case kArmF32x4Neg: |
118 case kArmF32x4RecipApprox: | 118 case kArmF32x4RecipApprox: |
119 case kArmF32x4RecipSqrtApprox: | 119 case kArmF32x4RecipSqrtApprox: |
120 case kArmF32x4Add: | 120 case kArmF32x4Add: |
121 case kArmF32x4Sub: | 121 case kArmF32x4Sub: |
122 case kArmF32x4Mul: | 122 case kArmF32x4Mul: |
123 case kArmF32x4Min: | 123 case kArmF32x4Min: |
124 case kArmF32x4Max: | 124 case kArmF32x4Max: |
125 case kArmF32x4RecipRefine: | |
126 case kArmF32x4RecipSqrtRefine: | |
127 case kArmF32x4Eq: | 125 case kArmF32x4Eq: |
128 case kArmF32x4Ne: | 126 case kArmF32x4Ne: |
129 case kArmF32x4Lt: | 127 case kArmF32x4Lt: |
130 case kArmF32x4Le: | 128 case kArmF32x4Le: |
131 case kArmI32x4Splat: | 129 case kArmI32x4Splat: |
132 case kArmI32x4ExtractLane: | 130 case kArmI32x4ExtractLane: |
133 case kArmI32x4ReplaceLane: | 131 case kArmI32x4ReplaceLane: |
134 case kArmI32x4SConvertF32x4: | 132 case kArmI32x4SConvertF32x4: |
135 case kArmI32x4SConvertI16x8Low: | 133 case kArmI32x4SConvertI16x8Low: |
136 case kArmI32x4SConvertI16x8High: | 134 case kArmI32x4SConvertI16x8High: |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 257 |
260 | 258 |
261 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 259 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
262 // TODO(all): Add instruction cost modeling. | 260 // TODO(all): Add instruction cost modeling. |
263 return 1; | 261 return 1; |
264 } | 262 } |
265 | 263 |
266 } // namespace compiler | 264 } // namespace compiler |
267 } // namespace internal | 265 } // namespace internal |
268 } // namespace v8 | 266 } // namespace v8 |
OLD | NEW |