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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 case kS390_DoubleInsertLowWord32: | 123 case kS390_DoubleInsertLowWord32: |
124 case kS390_DoubleInsertHighWord32: | 124 case kS390_DoubleInsertHighWord32: |
125 case kS390_DoubleConstruct: | 125 case kS390_DoubleConstruct: |
126 case kS390_BitcastInt32ToFloat32: | 126 case kS390_BitcastInt32ToFloat32: |
127 case kS390_BitcastFloat32ToInt32: | 127 case kS390_BitcastFloat32ToInt32: |
128 case kS390_BitcastInt64ToDouble: | 128 case kS390_BitcastInt64ToDouble: |
129 case kS390_BitcastDoubleToInt64: | 129 case kS390_BitcastDoubleToInt64: |
130 case kS390_LoadReverse16RR: | 130 case kS390_LoadReverse16RR: |
131 case kS390_LoadReverse32RR: | 131 case kS390_LoadReverse32RR: |
132 case kS390_LoadReverse64RR: | 132 case kS390_LoadReverse64RR: |
| 133 case kS390_LoadAndTestWord32: |
| 134 case kS390_LoadAndTestWord64: |
| 135 case kS390_LoadAndTestFloat32: |
| 136 case kS390_LoadAndTestFloat64: |
133 return kNoOpcodeFlags; | 137 return kNoOpcodeFlags; |
134 | 138 |
135 case kS390_LoadWordS8: | 139 case kS390_LoadWordS8: |
136 case kS390_LoadWordU8: | 140 case kS390_LoadWordU8: |
137 case kS390_LoadWordS16: | 141 case kS390_LoadWordS16: |
138 case kS390_LoadWordU16: | 142 case kS390_LoadWordU16: |
139 case kS390_LoadWordS32: | 143 case kS390_LoadWordS32: |
140 case kS390_LoadWordU32: | 144 case kS390_LoadWordU32: |
141 case kS390_LoadWord64: | 145 case kS390_LoadWord64: |
142 case kS390_LoadFloat32: | 146 case kS390_LoadFloat32: |
(...skipping 29 matching lines...) Expand all Loading... |
172 } | 176 } |
173 | 177 |
174 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 178 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
175 // TODO(all): Add instruction cost modeling. | 179 // TODO(all): Add instruction cost modeling. |
176 return 1; | 180 return 1; |
177 } | 181 } |
178 | 182 |
179 } // namespace compiler | 183 } // namespace compiler |
180 } // namespace internal | 184 } // namespace internal |
181 } // namespace v8 | 185 } // namespace v8 |
OLD | NEW |