| 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 namespace v8 { | 7 namespace v8 { |
| 8 namespace internal { | 8 namespace internal { |
| 9 namespace compiler { | 9 namespace compiler { |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 case kX64Sar: | 51 case kX64Sar: |
| 52 case kX64Sar32: | 52 case kX64Sar32: |
| 53 case kX64Ror: | 53 case kX64Ror: |
| 54 case kX64Ror32: | 54 case kX64Ror32: |
| 55 case kX64Lzcnt: | 55 case kX64Lzcnt: |
| 56 case kX64Lzcnt32: | 56 case kX64Lzcnt32: |
| 57 case kX64Tzcnt: | 57 case kX64Tzcnt: |
| 58 case kX64Tzcnt32: | 58 case kX64Tzcnt32: |
| 59 case kX64Popcnt: | 59 case kX64Popcnt: |
| 60 case kX64Popcnt32: | 60 case kX64Popcnt32: |
| 61 case kX87Float64Log: |
| 61 case kSSEFloat32Cmp: | 62 case kSSEFloat32Cmp: |
| 62 case kSSEFloat32Add: | 63 case kSSEFloat32Add: |
| 63 case kSSEFloat32Sub: | 64 case kSSEFloat32Sub: |
| 64 case kSSEFloat32Mul: | 65 case kSSEFloat32Mul: |
| 65 case kSSEFloat32Div: | 66 case kSSEFloat32Div: |
| 66 case kSSEFloat32Abs: | 67 case kSSEFloat32Abs: |
| 67 case kSSEFloat32Neg: | 68 case kSSEFloat32Neg: |
| 68 case kSSEFloat32Sqrt: | 69 case kSSEFloat32Sqrt: |
| 69 case kSSEFloat32Round: | 70 case kSSEFloat32Round: |
| 70 case kSSEFloat32Max: | 71 case kSSEFloat32Max: |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 187 |
| 187 | 188 |
| 188 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 189 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 189 // TODO(all): Add instruction cost modeling. | 190 // TODO(all): Add instruction cost modeling. |
| 190 return 1; | 191 return 1; |
| 191 } | 192 } |
| 192 | 193 |
| 193 } // namespace compiler | 194 } // namespace compiler |
| 194 } // namespace internal | 195 } // namespace internal |
| 195 } // namespace v8 | 196 } // namespace v8 |
| OLD | NEW |