| 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 18 matching lines...) Expand all Loading... |
| 29 case kS390_ShiftRightArithPair: | 29 case kS390_ShiftRightArithPair: |
| 30 case kS390_RotRight32: | 30 case kS390_RotRight32: |
| 31 case kS390_RotRight64: | 31 case kS390_RotRight64: |
| 32 case kS390_Not: | 32 case kS390_Not: |
| 33 case kS390_RotLeftAndMask32: | 33 case kS390_RotLeftAndMask32: |
| 34 case kS390_RotLeftAndClear64: | 34 case kS390_RotLeftAndClear64: |
| 35 case kS390_RotLeftAndClearLeft64: | 35 case kS390_RotLeftAndClearLeft64: |
| 36 case kS390_RotLeftAndClearRight64: | 36 case kS390_RotLeftAndClearRight64: |
| 37 case kS390_Add: | 37 case kS390_Add: |
| 38 case kS390_AddWithOverflow32: | 38 case kS390_AddWithOverflow32: |
| 39 case kS390_AddPair: |
| 39 case kS390_AddFloat: | 40 case kS390_AddFloat: |
| 40 case kS390_AddDouble: | 41 case kS390_AddDouble: |
| 41 case kS390_Sub: | 42 case kS390_Sub: |
| 42 case kS390_SubWithOverflow32: | 43 case kS390_SubWithOverflow32: |
| 43 case kS390_SubFloat: | 44 case kS390_SubFloat: |
| 44 case kS390_SubDouble: | 45 case kS390_SubDouble: |
| 45 case kS390_Mul32: | 46 case kS390_Mul32: |
| 46 case kS390_Mul64: | 47 case kS390_Mul64: |
| 47 case kS390_MulHigh32: | 48 case kS390_MulHigh32: |
| 48 case kS390_MulHighU32: | 49 case kS390_MulHighU32: |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 152 } |
| 152 | 153 |
| 153 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 154 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 154 // TODO(all): Add instruction cost modeling. | 155 // TODO(all): Add instruction cost modeling. |
| 155 return 1; | 156 return 1; |
| 156 } | 157 } |
| 157 | 158 |
| 158 } // namespace compiler | 159 } // namespace compiler |
| 159 } // namespace internal | 160 } // namespace internal |
| 160 } // namespace v8 | 161 } // namespace v8 |
| OLD | NEW |