| 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 19 matching lines...) Expand all Loading... |
| 30 case kPPC_ShiftRightAlgPair: | 30 case kPPC_ShiftRightAlgPair: |
| 31 case kPPC_RotRight32: | 31 case kPPC_RotRight32: |
| 32 case kPPC_RotRight64: | 32 case kPPC_RotRight64: |
| 33 case kPPC_Not: | 33 case kPPC_Not: |
| 34 case kPPC_RotLeftAndMask32: | 34 case kPPC_RotLeftAndMask32: |
| 35 case kPPC_RotLeftAndClear64: | 35 case kPPC_RotLeftAndClear64: |
| 36 case kPPC_RotLeftAndClearLeft64: | 36 case kPPC_RotLeftAndClearLeft64: |
| 37 case kPPC_RotLeftAndClearRight64: | 37 case kPPC_RotLeftAndClearRight64: |
| 38 case kPPC_Add: | 38 case kPPC_Add: |
| 39 case kPPC_AddWithOverflow32: | 39 case kPPC_AddWithOverflow32: |
| 40 case kPPC_AddPair: |
| 40 case kPPC_AddDouble: | 41 case kPPC_AddDouble: |
| 41 case kPPC_Sub: | 42 case kPPC_Sub: |
| 42 case kPPC_SubWithOverflow32: | 43 case kPPC_SubWithOverflow32: |
| 43 case kPPC_SubDouble: | 44 case kPPC_SubDouble: |
| 44 case kPPC_Mul32: | 45 case kPPC_Mul32: |
| 45 case kPPC_Mul64: | 46 case kPPC_Mul64: |
| 46 case kPPC_MulHigh32: | 47 case kPPC_MulHigh32: |
| 47 case kPPC_MulHighU32: | 48 case kPPC_MulHighU32: |
| 48 case kPPC_MulDouble: | 49 case kPPC_MulDouble: |
| 49 case kPPC_Div32: | 50 case kPPC_Div32: |
| (...skipping 89 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 |