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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 case kArchParentFramePointer: | 222 case kArchParentFramePointer: |
223 case kArchTruncateDoubleToI: | 223 case kArchTruncateDoubleToI: |
224 case kArchStackSlot: | 224 case kArchStackSlot: |
225 case kArchDebugBreak: | 225 case kArchDebugBreak: |
226 case kArchComment: | 226 case kArchComment: |
227 case kIeee754Float64Atan: | 227 case kIeee754Float64Atan: |
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 kIeee754Float64Cosh: |
232 case kIeee754Float64Exp: | 233 case kIeee754Float64Exp: |
233 case kIeee754Float64Expm1: | 234 case kIeee754Float64Expm1: |
234 case kIeee754Float64Log: | 235 case kIeee754Float64Log: |
235 case kIeee754Float64Log1p: | 236 case kIeee754Float64Log1p: |
236 case kIeee754Float64Log10: | 237 case kIeee754Float64Log10: |
237 case kIeee754Float64Log2: | 238 case kIeee754Float64Log2: |
238 case kIeee754Float64Pow: | 239 case kIeee754Float64Pow: |
239 case kIeee754Float64Sin: | 240 case kIeee754Float64Sin: |
| 241 case kIeee754Float64Sinh: |
240 case kIeee754Float64Tan: | 242 case kIeee754Float64Tan: |
| 243 case kIeee754Float64Tanh: |
241 return kNoOpcodeFlags; | 244 return kNoOpcodeFlags; |
242 | 245 |
243 case kArchStackPointer: | 246 case kArchStackPointer: |
244 // ArchStackPointer instruction loads the current stack pointer value and | 247 // ArchStackPointer instruction loads the current stack pointer value and |
245 // must not be reordered with instruction with side effects. | 248 // must not be reordered with instruction with side effects. |
246 return kIsLoadOperation; | 249 return kIsLoadOperation; |
247 | 250 |
248 case kArchPrepareCallCFunction: | 251 case kArchPrepareCallCFunction: |
249 case kArchPrepareTailCall: | 252 case kArchPrepareTailCall: |
250 case kArchCallCFunction: | 253 case kArchCallCFunction: |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 } | 356 } |
354 } | 357 } |
355 | 358 |
356 node->set_total_latency(max_latency + node->latency()); | 359 node->set_total_latency(max_latency + node->latency()); |
357 } | 360 } |
358 } | 361 } |
359 | 362 |
360 } // namespace compiler | 363 } // namespace compiler |
361 } // namespace internal | 364 } // namespace internal |
362 } // namespace v8 | 365 } // namespace v8 |
OLD | NEW |