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