| 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 28 matching lines...) Expand all Loading... |
| 39 case kS390_AddPair: | 39 case kS390_AddPair: |
| 40 case kS390_AddFloat: | 40 case kS390_AddFloat: |
| 41 case kS390_AddDouble: | 41 case kS390_AddDouble: |
| 42 case kS390_Sub: | 42 case kS390_Sub: |
| 43 case kS390_SubWithOverflow32: | 43 case kS390_SubWithOverflow32: |
| 44 case kS390_SubPair: | 44 case kS390_SubPair: |
| 45 case kS390_MulPair: | 45 case kS390_MulPair: |
| 46 case kS390_SubFloat: | 46 case kS390_SubFloat: |
| 47 case kS390_SubDouble: | 47 case kS390_SubDouble: |
| 48 case kS390_Mul32: | 48 case kS390_Mul32: |
| 49 case kS390_Mul32WithHigh32: |
| 49 case kS390_Mul64: | 50 case kS390_Mul64: |
| 50 case kS390_MulHigh32: | 51 case kS390_MulHigh32: |
| 51 case kS390_MulHighU32: | 52 case kS390_MulHighU32: |
| 52 case kS390_MulFloat: | 53 case kS390_MulFloat: |
| 53 case kS390_MulDouble: | 54 case kS390_MulDouble: |
| 54 case kS390_Div32: | 55 case kS390_Div32: |
| 55 case kS390_Div64: | 56 case kS390_Div64: |
| 56 case kS390_DivU32: | 57 case kS390_DivU32: |
| 57 case kS390_DivU64: | 58 case kS390_DivU64: |
| 58 case kS390_DivFloat: | 59 case kS390_DivFloat: |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 157 } |
| 157 | 158 |
| 158 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 159 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 159 // TODO(all): Add instruction cost modeling. | 160 // TODO(all): Add instruction cost modeling. |
| 160 return 1; | 161 return 1; |
| 161 } | 162 } |
| 162 | 163 |
| 163 } // namespace compiler | 164 } // namespace compiler |
| 164 } // namespace internal | 165 } // namespace internal |
| 165 } // namespace v8 | 166 } // namespace v8 |
| OLD | NEW |