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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 case kArmF32x4Splat: | 111 case kArmF32x4Splat: |
112 case kArmF32x4ExtractLane: | 112 case kArmF32x4ExtractLane: |
113 case kArmF32x4ReplaceLane: | 113 case kArmF32x4ReplaceLane: |
114 case kArmF32x4SConvertI32x4: | 114 case kArmF32x4SConvertI32x4: |
115 case kArmF32x4UConvertI32x4: | 115 case kArmF32x4UConvertI32x4: |
116 case kArmF32x4Abs: | 116 case kArmF32x4Abs: |
117 case kArmF32x4Neg: | 117 case kArmF32x4Neg: |
118 case kArmF32x4RecipApprox: | 118 case kArmF32x4RecipApprox: |
119 case kArmF32x4RecipSqrtApprox: | 119 case kArmF32x4RecipSqrtApprox: |
120 case kArmF32x4Add: | 120 case kArmF32x4Add: |
| 121 case kArmF32x4AddHoriz: |
121 case kArmF32x4Sub: | 122 case kArmF32x4Sub: |
122 case kArmF32x4Mul: | 123 case kArmF32x4Mul: |
123 case kArmF32x4Min: | 124 case kArmF32x4Min: |
124 case kArmF32x4Max: | 125 case kArmF32x4Max: |
125 case kArmF32x4Eq: | 126 case kArmF32x4Eq: |
126 case kArmF32x4Ne: | 127 case kArmF32x4Ne: |
127 case kArmF32x4Lt: | 128 case kArmF32x4Lt: |
128 case kArmF32x4Le: | 129 case kArmF32x4Le: |
129 case kArmI32x4Splat: | 130 case kArmI32x4Splat: |
130 case kArmI32x4ExtractLane: | 131 case kArmI32x4ExtractLane: |
131 case kArmI32x4ReplaceLane: | 132 case kArmI32x4ReplaceLane: |
132 case kArmI32x4SConvertF32x4: | 133 case kArmI32x4SConvertF32x4: |
133 case kArmI32x4SConvertI16x8Low: | 134 case kArmI32x4SConvertI16x8Low: |
134 case kArmI32x4SConvertI16x8High: | 135 case kArmI32x4SConvertI16x8High: |
135 case kArmI32x4Neg: | 136 case kArmI32x4Neg: |
136 case kArmI32x4Shl: | 137 case kArmI32x4Shl: |
137 case kArmI32x4ShrS: | 138 case kArmI32x4ShrS: |
138 case kArmI32x4Add: | 139 case kArmI32x4Add: |
| 140 case kArmI32x4AddHoriz: |
139 case kArmI32x4Sub: | 141 case kArmI32x4Sub: |
140 case kArmI32x4Mul: | 142 case kArmI32x4Mul: |
141 case kArmI32x4MinS: | 143 case kArmI32x4MinS: |
142 case kArmI32x4MaxS: | 144 case kArmI32x4MaxS: |
143 case kArmI32x4Eq: | 145 case kArmI32x4Eq: |
144 case kArmI32x4Ne: | 146 case kArmI32x4Ne: |
145 case kArmI32x4LtS: | 147 case kArmI32x4LtS: |
146 case kArmI32x4LeS: | 148 case kArmI32x4LeS: |
147 case kArmI32x4UConvertF32x4: | 149 case kArmI32x4UConvertF32x4: |
148 case kArmI32x4UConvertI16x8Low: | 150 case kArmI32x4UConvertI16x8Low: |
149 case kArmI32x4UConvertI16x8High: | 151 case kArmI32x4UConvertI16x8High: |
150 case kArmI32x4ShrU: | 152 case kArmI32x4ShrU: |
151 case kArmI32x4MinU: | 153 case kArmI32x4MinU: |
152 case kArmI32x4MaxU: | 154 case kArmI32x4MaxU: |
153 case kArmI32x4LtU: | 155 case kArmI32x4LtU: |
154 case kArmI32x4LeU: | 156 case kArmI32x4LeU: |
155 case kArmI16x8Splat: | 157 case kArmI16x8Splat: |
156 case kArmI16x8ExtractLane: | 158 case kArmI16x8ExtractLane: |
157 case kArmI16x8ReplaceLane: | 159 case kArmI16x8ReplaceLane: |
158 case kArmI16x8SConvertI8x16Low: | 160 case kArmI16x8SConvertI8x16Low: |
159 case kArmI16x8SConvertI8x16High: | 161 case kArmI16x8SConvertI8x16High: |
160 case kArmI16x8Neg: | 162 case kArmI16x8Neg: |
161 case kArmI16x8Shl: | 163 case kArmI16x8Shl: |
162 case kArmI16x8ShrS: | 164 case kArmI16x8ShrS: |
163 case kArmI16x8SConvertI32x4: | 165 case kArmI16x8SConvertI32x4: |
164 case kArmI16x8Add: | 166 case kArmI16x8Add: |
165 case kArmI16x8AddSaturateS: | 167 case kArmI16x8AddSaturateS: |
| 168 case kArmI16x8AddHoriz: |
166 case kArmI16x8Sub: | 169 case kArmI16x8Sub: |
167 case kArmI16x8SubSaturateS: | 170 case kArmI16x8SubSaturateS: |
168 case kArmI16x8Mul: | 171 case kArmI16x8Mul: |
169 case kArmI16x8MinS: | 172 case kArmI16x8MinS: |
170 case kArmI16x8MaxS: | 173 case kArmI16x8MaxS: |
171 case kArmI16x8Eq: | 174 case kArmI16x8Eq: |
172 case kArmI16x8Ne: | 175 case kArmI16x8Ne: |
173 case kArmI16x8LtS: | 176 case kArmI16x8LtS: |
174 case kArmI16x8LeS: | 177 case kArmI16x8LeS: |
175 case kArmI16x8UConvertI8x16Low: | 178 case kArmI16x8UConvertI8x16Low: |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 285 |
283 | 286 |
284 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 287 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
285 // TODO(all): Add instruction cost modeling. | 288 // TODO(all): Add instruction cost modeling. |
286 return 1; | 289 return 1; |
287 } | 290 } |
288 | 291 |
289 } // namespace compiler | 292 } // namespace compiler |
290 } // namespace internal | 293 } // namespace internal |
291 } // namespace v8 | 294 } // namespace v8 |
OLD | NEW |