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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 case kSSEInt64ToFloat64: | 97 case kSSEInt64ToFloat64: |
98 case kSSEUint64ToFloat32: | 98 case kSSEUint64ToFloat32: |
99 case kSSEUint64ToFloat64: | 99 case kSSEUint64ToFloat64: |
100 case kSSEUint32ToFloat64: | 100 case kSSEUint32ToFloat64: |
101 case kSSEUint32ToFloat32: | 101 case kSSEUint32ToFloat32: |
102 case kSSEFloat64ExtractLowWord32: | 102 case kSSEFloat64ExtractLowWord32: |
103 case kSSEFloat64ExtractHighWord32: | 103 case kSSEFloat64ExtractHighWord32: |
104 case kSSEFloat64InsertLowWord32: | 104 case kSSEFloat64InsertLowWord32: |
105 case kSSEFloat64InsertHighWord32: | 105 case kSSEFloat64InsertHighWord32: |
106 case kSSEFloat64LoadLowWord32: | 106 case kSSEFloat64LoadLowWord32: |
| 107 case kSSEFloat64SilenceNaN: |
107 case kAVXFloat32Cmp: | 108 case kAVXFloat32Cmp: |
108 case kAVXFloat32Add: | 109 case kAVXFloat32Add: |
109 case kAVXFloat32Sub: | 110 case kAVXFloat32Sub: |
110 case kAVXFloat32Mul: | 111 case kAVXFloat32Mul: |
111 case kAVXFloat32Div: | 112 case kAVXFloat32Div: |
112 case kAVXFloat32Max: | 113 case kAVXFloat32Max: |
113 case kAVXFloat32Min: | 114 case kAVXFloat32Min: |
114 case kAVXFloat64Cmp: | 115 case kAVXFloat64Cmp: |
115 case kAVXFloat64Add: | 116 case kAVXFloat64Add: |
116 case kAVXFloat64Sub: | 117 case kAVXFloat64Sub: |
(...skipping 69 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 |