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: | |
62 case kSSEFloat32Cmp: | 61 case kSSEFloat32Cmp: |
63 case kSSEFloat32Add: | 62 case kSSEFloat32Add: |
64 case kSSEFloat32Sub: | 63 case kSSEFloat32Sub: |
65 case kSSEFloat32Mul: | 64 case kSSEFloat32Mul: |
66 case kSSEFloat32Div: | 65 case kSSEFloat32Div: |
67 case kSSEFloat32Abs: | 66 case kSSEFloat32Abs: |
68 case kSSEFloat32Neg: | 67 case kSSEFloat32Neg: |
69 case kSSEFloat32Sqrt: | 68 case kSSEFloat32Sqrt: |
70 case kSSEFloat32Round: | 69 case kSSEFloat32Round: |
71 case kSSEFloat32Max: | 70 case kSSEFloat32Max: |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 186 |
188 | 187 |
189 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 188 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
190 // TODO(all): Add instruction cost modeling. | 189 // TODO(all): Add instruction cost modeling. |
191 return 1; | 190 return 1; |
192 } | 191 } |
193 | 192 |
194 } // namespace compiler | 193 } // namespace compiler |
195 } // namespace internal | 194 } // namespace internal |
196 } // namespace v8 | 195 } // namespace v8 |
OLD | NEW |