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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 kIeee754Float64Sin: | 238 case kIeee754Float64Sin: |
| 239 case kIeee754Float64Tan: |
239 return kNoOpcodeFlags; | 240 return kNoOpcodeFlags; |
240 | 241 |
241 case kArchStackPointer: | 242 case kArchStackPointer: |
242 // ArchStackPointer instruction loads the current stack pointer value and | 243 // ArchStackPointer instruction loads the current stack pointer value and |
243 // must not be reordered with instruction with side effects. | 244 // must not be reordered with instruction with side effects. |
244 return kIsLoadOperation; | 245 return kIsLoadOperation; |
245 | 246 |
246 case kArchPrepareCallCFunction: | 247 case kArchPrepareCallCFunction: |
247 case kArchPrepareTailCall: | 248 case kArchPrepareTailCall: |
248 case kArchCallCFunction: | 249 case kArchCallCFunction: |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 } | 352 } |
352 } | 353 } |
353 | 354 |
354 node->set_total_latency(max_latency + node->latency()); | 355 node->set_total_latency(max_latency + node->latency()); |
355 } | 356 } |
356 } | 357 } |
357 | 358 |
358 } // namespace compiler | 359 } // namespace compiler |
359 } // namespace internal | 360 } // namespace internal |
360 } // namespace v8 | 361 } // namespace v8 |
OLD | NEW |