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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 case kArmF32x4RecipRefine: | 125 case kArmF32x4RecipRefine: |
126 case kArmF32x4RecipSqrtRefine: | 126 case kArmF32x4RecipSqrtRefine: |
127 case kArmF32x4Eq: | 127 case kArmF32x4Eq: |
128 case kArmF32x4Ne: | 128 case kArmF32x4Ne: |
129 case kArmF32x4Lt: | 129 case kArmF32x4Lt: |
130 case kArmF32x4Le: | 130 case kArmF32x4Le: |
131 case kArmI32x4Splat: | 131 case kArmI32x4Splat: |
132 case kArmI32x4ExtractLane: | 132 case kArmI32x4ExtractLane: |
133 case kArmI32x4ReplaceLane: | 133 case kArmI32x4ReplaceLane: |
134 case kArmI32x4SConvertF32x4: | 134 case kArmI32x4SConvertF32x4: |
| 135 case kArmI32x4SConvertI16x8Low: |
| 136 case kArmI32x4SConvertI16x8High: |
135 case kArmI32x4Neg: | 137 case kArmI32x4Neg: |
136 case kArmI32x4Shl: | 138 case kArmI32x4Shl: |
137 case kArmI32x4ShrS: | 139 case kArmI32x4ShrS: |
138 case kArmI32x4Add: | 140 case kArmI32x4Add: |
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: |
| 150 case kArmI32x4UConvertI16x8Low: |
| 151 case kArmI32x4UConvertI16x8High: |
148 case kArmI32x4ShrU: | 152 case kArmI32x4ShrU: |
149 case kArmI32x4MinU: | 153 case kArmI32x4MinU: |
150 case kArmI32x4MaxU: | 154 case kArmI32x4MaxU: |
151 case kArmI32x4LtU: | 155 case kArmI32x4LtU: |
152 case kArmI32x4LeU: | 156 case kArmI32x4LeU: |
153 case kArmI16x8Splat: | 157 case kArmI16x8Splat: |
154 case kArmI16x8ExtractLane: | 158 case kArmI16x8ExtractLane: |
155 case kArmI16x8ReplaceLane: | 159 case kArmI16x8ReplaceLane: |
| 160 case kArmI16x8SConvertI8x16Low: |
| 161 case kArmI16x8SConvertI8x16High: |
156 case kArmI16x8Neg: | 162 case kArmI16x8Neg: |
157 case kArmI16x8Shl: | 163 case kArmI16x8Shl: |
158 case kArmI16x8ShrS: | 164 case kArmI16x8ShrS: |
| 165 case kArmI16x8SConvertI32x4: |
159 case kArmI16x8Add: | 166 case kArmI16x8Add: |
160 case kArmI16x8AddSaturateS: | 167 case kArmI16x8AddSaturateS: |
161 case kArmI16x8Sub: | 168 case kArmI16x8Sub: |
162 case kArmI16x8SubSaturateS: | 169 case kArmI16x8SubSaturateS: |
163 case kArmI16x8Mul: | 170 case kArmI16x8Mul: |
164 case kArmI16x8MinS: | 171 case kArmI16x8MinS: |
165 case kArmI16x8MaxS: | 172 case kArmI16x8MaxS: |
166 case kArmI16x8Eq: | 173 case kArmI16x8Eq: |
167 case kArmI16x8Ne: | 174 case kArmI16x8Ne: |
168 case kArmI16x8LtS: | 175 case kArmI16x8LtS: |
169 case kArmI16x8LeS: | 176 case kArmI16x8LeS: |
| 177 case kArmI16x8UConvertI8x16Low: |
| 178 case kArmI16x8UConvertI8x16High: |
| 179 case kArmI16x8ShrU: |
| 180 case kArmI16x8UConvertI32x4: |
170 case kArmI16x8AddSaturateU: | 181 case kArmI16x8AddSaturateU: |
171 case kArmI16x8SubSaturateU: | 182 case kArmI16x8SubSaturateU: |
172 case kArmI16x8ShrU: | |
173 case kArmI16x8MinU: | 183 case kArmI16x8MinU: |
174 case kArmI16x8MaxU: | 184 case kArmI16x8MaxU: |
175 case kArmI16x8LtU: | 185 case kArmI16x8LtU: |
176 case kArmI16x8LeU: | 186 case kArmI16x8LeU: |
177 case kArmI8x16Splat: | 187 case kArmI8x16Splat: |
178 case kArmI8x16ExtractLane: | 188 case kArmI8x16ExtractLane: |
179 case kArmI8x16ReplaceLane: | 189 case kArmI8x16ReplaceLane: |
180 case kArmI8x16Neg: | 190 case kArmI8x16Neg: |
181 case kArmI8x16Shl: | 191 case kArmI8x16Shl: |
182 case kArmI8x16ShrS: | 192 case kArmI8x16ShrS: |
| 193 case kArmI8x16SConvertI16x8: |
183 case kArmI8x16Add: | 194 case kArmI8x16Add: |
184 case kArmI8x16AddSaturateS: | 195 case kArmI8x16AddSaturateS: |
185 case kArmI8x16Sub: | 196 case kArmI8x16Sub: |
186 case kArmI8x16SubSaturateS: | 197 case kArmI8x16SubSaturateS: |
187 case kArmI8x16Mul: | 198 case kArmI8x16Mul: |
188 case kArmI8x16MinS: | 199 case kArmI8x16MinS: |
189 case kArmI8x16MaxS: | 200 case kArmI8x16MaxS: |
190 case kArmI8x16Eq: | 201 case kArmI8x16Eq: |
191 case kArmI8x16Ne: | 202 case kArmI8x16Ne: |
192 case kArmI8x16LtS: | 203 case kArmI8x16LtS: |
193 case kArmI8x16LeS: | 204 case kArmI8x16LeS: |
| 205 case kArmI8x16UConvertI16x8: |
194 case kArmI8x16AddSaturateU: | 206 case kArmI8x16AddSaturateU: |
195 case kArmI8x16SubSaturateU: | 207 case kArmI8x16SubSaturateU: |
196 case kArmI8x16ShrU: | 208 case kArmI8x16ShrU: |
197 case kArmI8x16MinU: | 209 case kArmI8x16MinU: |
198 case kArmI8x16MaxU: | 210 case kArmI8x16MaxU: |
199 case kArmI8x16LtU: | 211 case kArmI8x16LtU: |
200 case kArmI8x16LeU: | 212 case kArmI8x16LeU: |
201 case kArmS128Zero: | 213 case kArmS128Zero: |
202 case kArmS128And: | 214 case kArmS128And: |
203 case kArmS128Or: | 215 case kArmS128Or: |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 259 |
248 | 260 |
249 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 261 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
250 // TODO(all): Add instruction cost modeling. | 262 // TODO(all): Add instruction cost modeling. |
251 return 1; | 263 return 1; |
252 } | 264 } |
253 | 265 |
254 } // namespace compiler | 266 } // namespace compiler |
255 } // namespace internal | 267 } // namespace internal |
256 } // namespace v8 | 268 } // namespace v8 |
OLD | NEW |