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 13 matching lines...) Expand all Loading... |
24 case kIA32Imul: | 24 case kIA32Imul: |
25 case kIA32ImulHigh: | 25 case kIA32ImulHigh: |
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 kIA32PairShl: | 34 case kIA32ShlPair: |
| 35 case kIA32ShrPair: |
| 36 case kIA32SarPair: |
35 case kIA32Ror: | 37 case kIA32Ror: |
36 case kIA32Lzcnt: | 38 case kIA32Lzcnt: |
37 case kIA32Tzcnt: | 39 case kIA32Tzcnt: |
38 case kIA32Popcnt: | 40 case kIA32Popcnt: |
39 case kIA32Lea: | 41 case kIA32Lea: |
40 case kSSEFloat32Cmp: | 42 case kSSEFloat32Cmp: |
41 case kSSEFloat32Add: | 43 case kSSEFloat32Add: |
42 case kSSEFloat32Sub: | 44 case kSSEFloat32Sub: |
43 case kSSEFloat32Mul: | 45 case kSSEFloat32Mul: |
44 case kSSEFloat32Div: | 46 case kSSEFloat32Div: |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 133 |
132 | 134 |
133 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 135 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
134 // TODO(all): Add instruction cost modeling. | 136 // TODO(all): Add instruction cost modeling. |
135 return 1; | 137 return 1; |
136 } | 138 } |
137 | 139 |
138 } // namespace compiler | 140 } // namespace compiler |
139 } // namespace internal | 141 } // namespace internal |
140 } // namespace v8 | 142 } // namespace v8 |
OLD | NEW |