| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 case kPPC_ExtendSignWord16: | 76 case kPPC_ExtendSignWord16: |
| 77 case kPPC_ExtendSignWord32: | 77 case kPPC_ExtendSignWord32: |
| 78 case kPPC_Uint32ToUint64: | 78 case kPPC_Uint32ToUint64: |
| 79 case kPPC_Int64ToInt32: | 79 case kPPC_Int64ToInt32: |
| 80 case kPPC_Int64ToFloat32: | 80 case kPPC_Int64ToFloat32: |
| 81 case kPPC_Int64ToDouble: | 81 case kPPC_Int64ToDouble: |
| 82 case kPPC_Uint64ToFloat32: | 82 case kPPC_Uint64ToFloat32: |
| 83 case kPPC_Uint64ToDouble: | 83 case kPPC_Uint64ToDouble: |
| 84 case kPPC_Int32ToFloat32: | 84 case kPPC_Int32ToFloat32: |
| 85 case kPPC_Int32ToDouble: | 85 case kPPC_Int32ToDouble: |
| 86 case kPPC_Uint32ToFloat32: |
| 86 case kPPC_Uint32ToDouble: | 87 case kPPC_Uint32ToDouble: |
| 87 case kPPC_Float32ToDouble: | 88 case kPPC_Float32ToDouble: |
| 88 case kPPC_DoubleToInt32: | 89 case kPPC_DoubleToInt32: |
| 89 case kPPC_DoubleToUint32: | 90 case kPPC_DoubleToUint32: |
| 90 case kPPC_DoubleToInt64: | 91 case kPPC_DoubleToInt64: |
| 91 case kPPC_DoubleToUint64: | 92 case kPPC_DoubleToUint64: |
| 92 case kPPC_DoubleToFloat32: | 93 case kPPC_DoubleToFloat32: |
| 93 case kPPC_DoubleExtractLowWord32: | 94 case kPPC_DoubleExtractLowWord32: |
| 94 case kPPC_DoubleExtractHighWord32: | 95 case kPPC_DoubleExtractHighWord32: |
| 95 case kPPC_DoubleInsertLowWord32: | 96 case kPPC_DoubleInsertLowWord32: |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 136 |
| 136 | 137 |
| 137 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 138 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 138 // TODO(all): Add instruction cost modeling. | 139 // TODO(all): Add instruction cost modeling. |
| 139 return 1; | 140 return 1; |
| 140 } | 141 } |
| 141 | 142 |
| 142 } // namespace compiler | 143 } // namespace compiler |
| 143 } // namespace internal | 144 } // namespace internal |
| 144 } // namespace v8 | 145 } // namespace v8 |
| OLD | NEW |