| 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 29 matching lines...) Expand all Loading... |
| 40 case kPPC_AddPair: | 40 case kPPC_AddPair: |
| 41 case kPPC_AddDouble: | 41 case kPPC_AddDouble: |
| 42 case kPPC_Sub: | 42 case kPPC_Sub: |
| 43 case kPPC_SubWithOverflow32: | 43 case kPPC_SubWithOverflow32: |
| 44 case kPPC_SubPair: | 44 case kPPC_SubPair: |
| 45 case kPPC_SubDouble: | 45 case kPPC_SubDouble: |
| 46 case kPPC_Mul32: | 46 case kPPC_Mul32: |
| 47 case kPPC_Mul64: | 47 case kPPC_Mul64: |
| 48 case kPPC_MulHigh32: | 48 case kPPC_MulHigh32: |
| 49 case kPPC_MulHighU32: | 49 case kPPC_MulHighU32: |
| 50 case kPPC_MulPair: |
| 50 case kPPC_MulDouble: | 51 case kPPC_MulDouble: |
| 51 case kPPC_Div32: | 52 case kPPC_Div32: |
| 52 case kPPC_Div64: | 53 case kPPC_Div64: |
| 53 case kPPC_DivU32: | 54 case kPPC_DivU32: |
| 54 case kPPC_DivU64: | 55 case kPPC_DivU64: |
| 55 case kPPC_DivDouble: | 56 case kPPC_DivDouble: |
| 56 case kPPC_Mod32: | 57 case kPPC_Mod32: |
| 57 case kPPC_Mod64: | 58 case kPPC_Mod64: |
| 58 case kPPC_ModU32: | 59 case kPPC_ModU32: |
| 59 case kPPC_ModU64: | 60 case kPPC_ModU64: |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 142 |
| 142 | 143 |
| 143 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 144 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 144 // TODO(all): Add instruction cost modeling. | 145 // TODO(all): Add instruction cost modeling. |
| 145 return 1; | 146 return 1; |
| 146 } | 147 } |
| 147 | 148 |
| 148 } // namespace compiler | 149 } // namespace compiler |
| 149 } // namespace internal | 150 } // namespace internal |
| 150 } // namespace v8 | 151 } // namespace v8 |
| OLD | NEW |