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 15 matching lines...) Expand all Loading... |
26 case kIA32UmulHigh: | 26 case kIA32UmulHigh: |
27 case kIA32Idiv: | 27 case kIA32Idiv: |
28 case kIA32Udiv: | 28 case kIA32Udiv: |
29 case kIA32Not: | 29 case kIA32Not: |
30 case kIA32Neg: | 30 case kIA32Neg: |
31 case kIA32Shl: | 31 case kIA32Shl: |
32 case kIA32Shr: | 32 case kIA32Shr: |
33 case kIA32Sar: | 33 case kIA32Sar: |
34 case kIA32AddPair: | 34 case kIA32AddPair: |
35 case kIA32SubPair: | 35 case kIA32SubPair: |
| 36 case kIA32MulPair: |
36 case kIA32ShlPair: | 37 case kIA32ShlPair: |
37 case kIA32ShrPair: | 38 case kIA32ShrPair: |
38 case kIA32SarPair: | 39 case kIA32SarPair: |
39 case kIA32Ror: | 40 case kIA32Ror: |
40 case kIA32Lzcnt: | 41 case kIA32Lzcnt: |
41 case kIA32Tzcnt: | 42 case kIA32Tzcnt: |
42 case kIA32Popcnt: | 43 case kIA32Popcnt: |
43 case kIA32Lea: | 44 case kIA32Lea: |
44 case kSSEFloat32Cmp: | 45 case kSSEFloat32Cmp: |
45 case kSSEFloat32Add: | 46 case kSSEFloat32Add: |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 136 |
136 | 137 |
137 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 138 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
138 // TODO(all): Add instruction cost modeling. | 139 // TODO(all): Add instruction cost modeling. |
139 return 1; | 140 return 1; |
140 } | 141 } |
141 | 142 |
142 } // namespace compiler | 143 } // namespace compiler |
143 } // namespace internal | 144 } // namespace internal |
144 } // namespace v8 | 145 } // namespace v8 |
OLD | NEW |