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 #include "src/base/adapters.h" | 7 #include "src/base/adapters.h" |
8 #include "src/base/utils/random-number-generator.h" | 8 #include "src/base/utils/random-number-generator.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 case kIeee754Float64Atan2: | 228 case kIeee754Float64Atan2: |
229 case kIeee754Float64Atanh: | 229 case kIeee754Float64Atanh: |
230 case kIeee754Float64Cbrt: | 230 case kIeee754Float64Cbrt: |
231 case kIeee754Float64Cos: | 231 case kIeee754Float64Cos: |
232 case kIeee754Float64Exp: | 232 case kIeee754Float64Exp: |
233 case kIeee754Float64Expm1: | 233 case kIeee754Float64Expm1: |
234 case kIeee754Float64Log: | 234 case kIeee754Float64Log: |
235 case kIeee754Float64Log1p: | 235 case kIeee754Float64Log1p: |
236 case kIeee754Float64Log10: | 236 case kIeee754Float64Log10: |
237 case kIeee754Float64Log2: | 237 case kIeee754Float64Log2: |
| 238 case kIeee754Float64Pow: |
238 case kIeee754Float64Sin: | 239 case kIeee754Float64Sin: |
239 case kIeee754Float64Tan: | 240 case kIeee754Float64Tan: |
240 return kNoOpcodeFlags; | 241 return kNoOpcodeFlags; |
241 | 242 |
242 case kArchStackPointer: | 243 case kArchStackPointer: |
243 // ArchStackPointer instruction loads the current stack pointer value and | 244 // ArchStackPointer instruction loads the current stack pointer value and |
244 // must not be reordered with instruction with side effects. | 245 // must not be reordered with instruction with side effects. |
245 return kIsLoadOperation; | 246 return kIsLoadOperation; |
246 | 247 |
247 case kArchPrepareCallCFunction: | 248 case kArchPrepareCallCFunction: |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 } | 353 } |
353 } | 354 } |
354 | 355 |
355 node->set_total_latency(max_latency + node->latency()); | 356 node->set_total_latency(max_latency + node->latency()); |
356 } | 357 } |
357 } | 358 } |
358 | 359 |
359 } // namespace compiler | 360 } // namespace compiler |
360 } // namespace internal | 361 } // namespace internal |
361 } // namespace v8 | 362 } // namespace v8 |
OLD | NEW |