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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 switch (instr->arch_opcode()) { | 219 switch (instr->arch_opcode()) { |
220 case kArchNop: | 220 case kArchNop: |
221 case kArchFramePointer: | 221 case kArchFramePointer: |
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 kIeee754Float64Exp: | 230 case kIeee754Float64Exp: |
| 231 case kIeee754Float64Expm1: |
230 case kIeee754Float64Log: | 232 case kIeee754Float64Log: |
231 case kIeee754Float64Log1p: | 233 case kIeee754Float64Log1p: |
232 case kIeee754Float64Log2: | 234 case kIeee754Float64Log2: |
233 case kIeee754Float64Log10: | 235 case kIeee754Float64Log10: |
| 236 case kIeee754Float64Cbrt: |
234 return kNoOpcodeFlags; | 237 return kNoOpcodeFlags; |
235 | 238 |
236 case kArchStackPointer: | 239 case kArchStackPointer: |
237 // ArchStackPointer instruction loads the current stack pointer value and | 240 // ArchStackPointer instruction loads the current stack pointer value and |
238 // must not be reordered with instruction with side effects. | 241 // must not be reordered with instruction with side effects. |
239 return kIsLoadOperation; | 242 return kIsLoadOperation; |
240 | 243 |
241 case kArchPrepareCallCFunction: | 244 case kArchPrepareCallCFunction: |
242 case kArchPrepareTailCall: | 245 case kArchPrepareTailCall: |
243 case kArchCallCFunction: | 246 case kArchCallCFunction: |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 } | 349 } |
347 } | 350 } |
348 | 351 |
349 node->set_total_latency(max_latency + node->latency()); | 352 node->set_total_latency(max_latency + node->latency()); |
350 } | 353 } |
351 } | 354 } |
352 | 355 |
353 } // namespace compiler | 356 } // namespace compiler |
354 } // namespace internal | 357 } // namespace internal |
355 } // namespace v8 | 358 } // namespace v8 |
OLD | NEW |