| 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 12 matching lines...) Expand all Loading... |
| 23 case kArmTst: | 23 case kArmTst: |
| 24 case kArmTeq: | 24 case kArmTeq: |
| 25 case kArmOrr: | 25 case kArmOrr: |
| 26 case kArmEor: | 26 case kArmEor: |
| 27 case kArmSub: | 27 case kArmSub: |
| 28 case kArmRsb: | 28 case kArmRsb: |
| 29 case kArmMul: | 29 case kArmMul: |
| 30 case kArmMla: | 30 case kArmMla: |
| 31 case kArmMls: | 31 case kArmMls: |
| 32 case kArmSmmul: | 32 case kArmSmmul: |
| 33 case kArmSmull: |
| 33 case kArmSmmla: | 34 case kArmSmmla: |
| 34 case kArmUmull: | 35 case kArmUmull: |
| 35 case kArmSdiv: | 36 case kArmSdiv: |
| 36 case kArmUdiv: | 37 case kArmUdiv: |
| 37 case kArmMov: | 38 case kArmMov: |
| 38 case kArmMvn: | 39 case kArmMvn: |
| 39 case kArmBfc: | 40 case kArmBfc: |
| 40 case kArmUbfx: | 41 case kArmUbfx: |
| 41 case kArmSbfx: | 42 case kArmSbfx: |
| 42 case kArmSxtb: | 43 case kArmSxtb: |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 140 |
| 140 | 141 |
| 141 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 142 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 142 // TODO(all): Add instruction cost modeling. | 143 // TODO(all): Add instruction cost modeling. |
| 143 return 1; | 144 return 1; |
| 144 } | 145 } |
| 145 | 146 |
| 146 } // namespace compiler | 147 } // namespace compiler |
| 147 } // namespace internal | 148 } // namespace internal |
| 148 } // namespace v8 | 149 } // namespace v8 |
| OLD | NEW |