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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 case kPPC_Tst64: | 74 case kPPC_Tst64: |
75 case kPPC_ExtendSignWord8: | 75 case kPPC_ExtendSignWord8: |
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_Int32ToDouble: | 85 case kPPC_Int32ToDouble: |
85 case kPPC_Uint32ToDouble: | 86 case kPPC_Uint32ToDouble: |
86 case kPPC_Float32ToDouble: | 87 case kPPC_Float32ToDouble: |
87 case kPPC_DoubleToInt32: | 88 case kPPC_DoubleToInt32: |
88 case kPPC_DoubleToUint32: | 89 case kPPC_DoubleToUint32: |
89 case kPPC_DoubleToInt64: | 90 case kPPC_DoubleToInt64: |
90 case kPPC_DoubleToUint64: | 91 case kPPC_DoubleToUint64: |
91 case kPPC_DoubleToFloat32: | 92 case kPPC_DoubleToFloat32: |
92 case kPPC_DoubleExtractLowWord32: | 93 case kPPC_DoubleExtractLowWord32: |
93 case kPPC_DoubleExtractHighWord32: | 94 case kPPC_DoubleExtractHighWord32: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 135 |
135 | 136 |
136 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 137 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
137 // TODO(all): Add instruction cost modeling. | 138 // TODO(all): Add instruction cost modeling. |
138 return 1; | 139 return 1; |
139 } | 140 } |
140 | 141 |
141 } // namespace compiler | 142 } // namespace compiler |
142 } // namespace internal | 143 } // namespace internal |
143 } // namespace v8 | 144 } // namespace v8 |
OLD | NEW |