| 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: | |
| 50 case kSSEFloat32Cmp: | 49 case kSSEFloat32Cmp: |
| 51 case kSSEFloat32Add: | 50 case kSSEFloat32Add: |
| 52 case kSSEFloat32Sub: | 51 case kSSEFloat32Sub: |
| 53 case kSSEFloat32Mul: | 52 case kSSEFloat32Mul: |
| 54 case kSSEFloat32Div: | 53 case kSSEFloat32Div: |
| 55 case kSSEFloat32Max: | 54 case kSSEFloat32Max: |
| 56 case kSSEFloat32Min: | 55 case kSSEFloat32Min: |
| 57 case kSSEFloat32Abs: | 56 case kSSEFloat32Abs: |
| 58 case kSSEFloat32Neg: | 57 case kSSEFloat32Neg: |
| 59 case kSSEFloat32Sqrt: | 58 case kSSEFloat32Sqrt: |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 145 |
| 147 | 146 |
| 148 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 147 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 149 // TODO(all): Add instruction cost modeling. | 148 // TODO(all): Add instruction cost modeling. |
| 150 return 1; | 149 return 1; |
| 151 } | 150 } |
| 152 | 151 |
| 153 } // namespace compiler | 152 } // namespace compiler |
| 154 } // namespace internal | 153 } // namespace internal |
| 155 } // namespace v8 | 154 } // namespace v8 |
| OLD | NEW |