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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 case kSSEFloat64Div: | 73 case kSSEFloat64Div: |
74 case kSSEFloat64Mod: | 74 case kSSEFloat64Mod: |
75 case kSSEFloat64Abs: | 75 case kSSEFloat64Abs: |
76 case kSSEFloat64Neg: | 76 case kSSEFloat64Neg: |
77 case kSSEFloat64Sqrt: | 77 case kSSEFloat64Sqrt: |
78 case kSSEFloat64Round: | 78 case kSSEFloat64Round: |
79 case kSSEFloat64Max: | 79 case kSSEFloat64Max: |
80 case kSSEFloat64Min: | 80 case kSSEFloat64Min: |
81 case kSSEFloat64ToFloat32: | 81 case kSSEFloat64ToFloat32: |
82 case kSSEFloat32ToInt32: | 82 case kSSEFloat32ToInt32: |
| 83 case kSSEFloat32ToUint32: |
83 case kSSEFloat64ToInt32: | 84 case kSSEFloat64ToInt32: |
84 case kSSEFloat64ToUint32: | 85 case kSSEFloat64ToUint32: |
85 case kSSEFloat64ToInt64: | 86 case kSSEFloat64ToInt64: |
86 case kSSEFloat32ToInt64: | 87 case kSSEFloat32ToInt64: |
87 case kSSEFloat64ToUint64: | 88 case kSSEFloat64ToUint64: |
88 case kSSEFloat32ToUint64: | 89 case kSSEFloat32ToUint64: |
89 case kSSEInt32ToFloat64: | 90 case kSSEInt32ToFloat64: |
90 case kSSEInt32ToFloat32: | 91 case kSSEInt32ToFloat32: |
91 case kSSEInt64ToFloat32: | 92 case kSSEInt64ToFloat32: |
92 case kSSEInt64ToFloat64: | 93 case kSSEInt64ToFloat64: |
(...skipping 82 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 |