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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 case kSSEFloat64Mod: | 55 case kSSEFloat64Mod: |
56 case kSSEFloat64Max: | 56 case kSSEFloat64Max: |
57 case kSSEFloat64Min: | 57 case kSSEFloat64Min: |
58 case kSSEFloat64Abs: | 58 case kSSEFloat64Abs: |
59 case kSSEFloat64Neg: | 59 case kSSEFloat64Neg: |
60 case kSSEFloat64Sqrt: | 60 case kSSEFloat64Sqrt: |
61 case kSSEFloat64Round: | 61 case kSSEFloat64Round: |
62 case kSSEFloat32ToFloat64: | 62 case kSSEFloat32ToFloat64: |
63 case kSSEFloat64ToFloat32: | 63 case kSSEFloat64ToFloat32: |
64 case kSSEFloat32ToInt32: | 64 case kSSEFloat32ToInt32: |
| 65 case kSSEFloat32ToUint32: |
65 case kSSEFloat64ToInt32: | 66 case kSSEFloat64ToInt32: |
66 case kSSEFloat64ToUint32: | 67 case kSSEFloat64ToUint32: |
67 case kSSEInt32ToFloat32: | 68 case kSSEInt32ToFloat32: |
68 case kSSEInt32ToFloat64: | 69 case kSSEInt32ToFloat64: |
69 case kSSEUint32ToFloat64: | 70 case kSSEUint32ToFloat64: |
70 case kSSEFloat64ExtractLowWord32: | 71 case kSSEFloat64ExtractLowWord32: |
71 case kSSEFloat64ExtractHighWord32: | 72 case kSSEFloat64ExtractHighWord32: |
72 case kSSEFloat64InsertLowWord32: | 73 case kSSEFloat64InsertLowWord32: |
73 case kSSEFloat64InsertHighWord32: | 74 case kSSEFloat64InsertHighWord32: |
74 case kSSEFloat64LoadLowWord32: | 75 case kSSEFloat64LoadLowWord32: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 129 |
129 | 130 |
130 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 131 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
131 // TODO(all): Add instruction cost modeling. | 132 // TODO(all): Add instruction cost modeling. |
132 return 1; | 133 return 1; |
133 } | 134 } |
134 | 135 |
135 } // namespace compiler | 136 } // namespace compiler |
136 } // namespace internal | 137 } // namespace internal |
137 } // namespace v8 | 138 } // namespace v8 |
OLD | NEW |