OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 case kArm64CompareAndBranch32: | 137 case kArm64CompareAndBranch32: |
138 case kArm64CompareAndBranch: | 138 case kArm64CompareAndBranch: |
139 return kIsBlockTerminator; | 139 return kIsBlockTerminator; |
140 | 140 |
141 case kArm64LdrS: | 141 case kArm64LdrS: |
142 case kArm64LdrD: | 142 case kArm64LdrD: |
143 case kArm64Ldrb: | 143 case kArm64Ldrb: |
144 case kArm64Ldrsb: | 144 case kArm64Ldrsb: |
145 case kArm64Ldrh: | 145 case kArm64Ldrh: |
146 case kArm64Ldrsh: | 146 case kArm64Ldrsh: |
| 147 case kArm64Ldrsw: |
147 case kArm64LdrW: | 148 case kArm64LdrW: |
148 case kArm64Ldr: | 149 case kArm64Ldr: |
149 return kIsLoadOperation; | 150 return kIsLoadOperation; |
150 | 151 |
151 case kArm64ClaimCSP: | 152 case kArm64ClaimCSP: |
152 case kArm64ClaimJSSP: | 153 case kArm64ClaimJSSP: |
153 case kArm64PokeCSP: | 154 case kArm64PokeCSP: |
154 case kArm64PokeJSSP: | 155 case kArm64PokeJSSP: |
155 case kArm64PokePair: | 156 case kArm64PokePair: |
156 case kArm64StrS: | 157 case kArm64StrS: |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 return 1; | 230 return 1; |
230 | 231 |
231 case kArm64Ldr: | 232 case kArm64Ldr: |
232 case kArm64LdrD: | 233 case kArm64LdrD: |
233 case kArm64LdrS: | 234 case kArm64LdrS: |
234 case kArm64LdrW: | 235 case kArm64LdrW: |
235 case kArm64Ldrb: | 236 case kArm64Ldrb: |
236 case kArm64Ldrh: | 237 case kArm64Ldrh: |
237 case kArm64Ldrsb: | 238 case kArm64Ldrsb: |
238 case kArm64Ldrsh: | 239 case kArm64Ldrsh: |
| 240 case kArm64Ldrsw: |
239 return 11; | 241 return 11; |
240 | 242 |
241 case kCheckedLoadInt8: | 243 case kCheckedLoadInt8: |
242 case kCheckedLoadUint8: | 244 case kCheckedLoadUint8: |
243 case kCheckedLoadInt16: | 245 case kCheckedLoadInt16: |
244 case kCheckedLoadUint16: | 246 case kCheckedLoadUint16: |
245 case kCheckedLoadWord32: | 247 case kCheckedLoadWord32: |
246 case kCheckedLoadWord64: | 248 case kCheckedLoadWord64: |
247 case kCheckedLoadFloat32: | 249 case kCheckedLoadFloat32: |
248 case kCheckedLoadFloat64: | 250 case kCheckedLoadFloat64: |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 return 5; | 336 return 5; |
335 | 337 |
336 default: | 338 default: |
337 return 2; | 339 return 2; |
338 } | 340 } |
339 } | 341 } |
340 | 342 |
341 } // namespace compiler | 343 } // namespace compiler |
342 } // namespace internal | 344 } // namespace internal |
343 } // namespace v8 | 345 } // namespace v8 |
OLD | NEW |