| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 case kSSEFloat32ToInt64: | 86 case kSSEFloat32ToInt64: |
| 87 case kSSEFloat64ToUint64: | 87 case kSSEFloat64ToUint64: |
| 88 case kSSEFloat32ToUint64: | 88 case kSSEFloat32ToUint64: |
| 89 case kSSEInt32ToFloat64: | 89 case kSSEInt32ToFloat64: |
| 90 case kSSEInt32ToFloat32: | 90 case kSSEInt32ToFloat32: |
| 91 case kSSEInt64ToFloat32: | 91 case kSSEInt64ToFloat32: |
| 92 case kSSEInt64ToFloat64: | 92 case kSSEInt64ToFloat64: |
| 93 case kSSEUint64ToFloat32: | 93 case kSSEUint64ToFloat32: |
| 94 case kSSEUint64ToFloat64: | 94 case kSSEUint64ToFloat64: |
| 95 case kSSEUint32ToFloat64: | 95 case kSSEUint32ToFloat64: |
| 96 case kSSEUint32ToFloat32: |
| 96 case kSSEFloat64ExtractLowWord32: | 97 case kSSEFloat64ExtractLowWord32: |
| 97 case kSSEFloat64ExtractHighWord32: | 98 case kSSEFloat64ExtractHighWord32: |
| 98 case kSSEFloat64InsertLowWord32: | 99 case kSSEFloat64InsertLowWord32: |
| 99 case kSSEFloat64InsertHighWord32: | 100 case kSSEFloat64InsertHighWord32: |
| 100 case kSSEFloat64LoadLowWord32: | 101 case kSSEFloat64LoadLowWord32: |
| 101 case kAVXFloat32Cmp: | 102 case kAVXFloat32Cmp: |
| 102 case kAVXFloat32Add: | 103 case kAVXFloat32Add: |
| 103 case kAVXFloat32Sub: | 104 case kAVXFloat32Sub: |
| 104 case kAVXFloat32Mul: | 105 case kAVXFloat32Mul: |
| 105 case kAVXFloat32Div: | 106 case kAVXFloat32Div: |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 176 |
| 176 | 177 |
| 177 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 178 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 178 // TODO(all): Add instruction cost modeling. | 179 // TODO(all): Add instruction cost modeling. |
| 179 return 1; | 180 return 1; |
| 180 } | 181 } |
| 181 | 182 |
| 182 } // namespace compiler | 183 } // namespace compiler |
| 183 } // namespace internal | 184 } // namespace internal |
| 184 } // namespace v8 | 185 } // namespace v8 |
| OLD | NEW |