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 28 matching lines...) Expand all Loading... |
39 case kIA32SubPair: | 39 case kIA32SubPair: |
40 case kIA32MulPair: | 40 case kIA32MulPair: |
41 case kIA32ShlPair: | 41 case kIA32ShlPair: |
42 case kIA32ShrPair: | 42 case kIA32ShrPair: |
43 case kIA32SarPair: | 43 case kIA32SarPair: |
44 case kIA32Ror: | 44 case kIA32Ror: |
45 case kIA32Lzcnt: | 45 case kIA32Lzcnt: |
46 case kIA32Tzcnt: | 46 case kIA32Tzcnt: |
47 case kIA32Popcnt: | 47 case kIA32Popcnt: |
48 case kIA32Lea: | 48 case kIA32Lea: |
| 49 case kX87Float64Log: |
49 case kSSEFloat32Cmp: | 50 case kSSEFloat32Cmp: |
50 case kSSEFloat32Add: | 51 case kSSEFloat32Add: |
51 case kSSEFloat32Sub: | 52 case kSSEFloat32Sub: |
52 case kSSEFloat32Mul: | 53 case kSSEFloat32Mul: |
53 case kSSEFloat32Div: | 54 case kSSEFloat32Div: |
54 case kSSEFloat32Max: | 55 case kSSEFloat32Max: |
55 case kSSEFloat32Min: | 56 case kSSEFloat32Min: |
56 case kSSEFloat32Abs: | 57 case kSSEFloat32Abs: |
57 case kSSEFloat32Neg: | 58 case kSSEFloat32Neg: |
58 case kSSEFloat32Sqrt: | 59 case kSSEFloat32Sqrt: |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 146 |
146 | 147 |
147 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 148 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
148 // TODO(all): Add instruction cost modeling. | 149 // TODO(all): Add instruction cost modeling. |
149 return 1; | 150 return 1; |
150 } | 151 } |
151 | 152 |
152 } // namespace compiler | 153 } // namespace compiler |
153 } // namespace internal | 154 } // namespace internal |
154 } // namespace v8 | 155 } // namespace v8 |
OLD | NEW |