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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 217 |
218 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { | 218 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { |
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 kIeee754Float64Acos: |
| 228 case kIeee754Float64Acosh: |
| 229 case kIeee754Float64Asin: |
| 230 case kIeee754Float64Asinh: |
227 case kIeee754Float64Atan: | 231 case kIeee754Float64Atan: |
| 232 case kIeee754Float64Atanh: |
228 case kIeee754Float64Atan2: | 233 case kIeee754Float64Atan2: |
229 case kIeee754Float64Atanh: | |
230 case kIeee754Float64Cbrt: | 234 case kIeee754Float64Cbrt: |
231 case kIeee754Float64Cos: | 235 case kIeee754Float64Cos: |
232 case kIeee754Float64Cosh: | 236 case kIeee754Float64Cosh: |
233 case kIeee754Float64Exp: | 237 case kIeee754Float64Exp: |
234 case kIeee754Float64Expm1: | 238 case kIeee754Float64Expm1: |
235 case kIeee754Float64Log: | 239 case kIeee754Float64Log: |
236 case kIeee754Float64Log1p: | 240 case kIeee754Float64Log1p: |
237 case kIeee754Float64Log10: | 241 case kIeee754Float64Log10: |
238 case kIeee754Float64Log2: | 242 case kIeee754Float64Log2: |
239 case kIeee754Float64Pow: | 243 case kIeee754Float64Pow: |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 } | 360 } |
357 } | 361 } |
358 | 362 |
359 node->set_total_latency(max_latency + node->latency()); | 363 node->set_total_latency(max_latency + node->latency()); |
360 } | 364 } |
361 } | 365 } |
362 | 366 |
363 } // namespace compiler | 367 } // namespace compiler |
364 } // namespace internal | 368 } // namespace internal |
365 } // namespace v8 | 369 } // namespace v8 |
OLD | NEW |