| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 case kPPC_Int64ToInt32: | 85 case kPPC_Int64ToInt32: |
| 86 case kPPC_Int64ToFloat32: | 86 case kPPC_Int64ToFloat32: |
| 87 case kPPC_Int64ToDouble: | 87 case kPPC_Int64ToDouble: |
| 88 case kPPC_Uint64ToFloat32: | 88 case kPPC_Uint64ToFloat32: |
| 89 case kPPC_Uint64ToDouble: | 89 case kPPC_Uint64ToDouble: |
| 90 case kPPC_Int32ToFloat32: | 90 case kPPC_Int32ToFloat32: |
| 91 case kPPC_Int32ToDouble: | 91 case kPPC_Int32ToDouble: |
| 92 case kPPC_Uint32ToFloat32: | 92 case kPPC_Uint32ToFloat32: |
| 93 case kPPC_Uint32ToDouble: | 93 case kPPC_Uint32ToDouble: |
| 94 case kPPC_Float32ToDouble: | 94 case kPPC_Float32ToDouble: |
| 95 case kPPC_Float64SilenceNaN: |
| 95 case kPPC_DoubleToInt32: | 96 case kPPC_DoubleToInt32: |
| 96 case kPPC_DoubleToUint32: | 97 case kPPC_DoubleToUint32: |
| 97 case kPPC_DoubleToInt64: | 98 case kPPC_DoubleToInt64: |
| 98 case kPPC_DoubleToUint64: | 99 case kPPC_DoubleToUint64: |
| 99 case kPPC_DoubleToFloat32: | 100 case kPPC_DoubleToFloat32: |
| 100 case kPPC_DoubleExtractLowWord32: | 101 case kPPC_DoubleExtractLowWord32: |
| 101 case kPPC_DoubleExtractHighWord32: | 102 case kPPC_DoubleExtractHighWord32: |
| 102 case kPPC_DoubleInsertLowWord32: | 103 case kPPC_DoubleInsertLowWord32: |
| 103 case kPPC_DoubleInsertHighWord32: | 104 case kPPC_DoubleInsertHighWord32: |
| 104 case kPPC_DoubleConstruct: | 105 case kPPC_DoubleConstruct: |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 144 |
| 144 | 145 |
| 145 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 146 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 146 // TODO(all): Add instruction cost modeling. | 147 // TODO(all): Add instruction cost modeling. |
| 147 return 1; | 148 return 1; |
| 148 } | 149 } |
| 149 | 150 |
| 150 } // namespace compiler | 151 } // namespace compiler |
| 151 } // namespace internal | 152 } // namespace internal |
| 152 } // namespace v8 | 153 } // namespace v8 |
| OLD | NEW |