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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 case kX64I32x4Add: | 131 case kX64I32x4Add: |
132 case kX64I32x4Sub: | 132 case kX64I32x4Sub: |
133 case kX64I32x4Mul: | 133 case kX64I32x4Mul: |
134 case kX64I32x4MinS: | 134 case kX64I32x4MinS: |
135 case kX64I32x4MaxS: | 135 case kX64I32x4MaxS: |
136 case kX64I32x4Eq: | 136 case kX64I32x4Eq: |
137 case kX64I32x4Ne: | 137 case kX64I32x4Ne: |
138 case kX64I32x4ShrU: | 138 case kX64I32x4ShrU: |
139 case kX64I32x4MinU: | 139 case kX64I32x4MinU: |
140 case kX64I32x4MaxU: | 140 case kX64I32x4MaxU: |
| 141 case kX64I16x8Splat: |
| 142 case kX64I16x8ExtractLane: |
| 143 case kX64I16x8ReplaceLane: |
| 144 case kX64I16x8Shl: |
| 145 case kX64I16x8ShrS: |
| 146 case kX64I16x8Add: |
| 147 case kX64I16x8AddSaturateS: |
| 148 case kX64I16x8Sub: |
| 149 case kX64I16x8SubSaturateS: |
| 150 case kX64I16x8Mul: |
| 151 case kX64I16x8MinS: |
| 152 case kX64I16x8MaxS: |
| 153 case kX64I16x8Eq: |
| 154 case kX64I16x8Ne: |
| 155 case kX64I16x8ShrU: |
| 156 case kX64I16x8AddSaturateU: |
| 157 case kX64I16x8SubSaturateU: |
| 158 case kX64I16x8MinU: |
| 159 case kX64I16x8MaxU: |
| 160 case kX64S128Select: |
141 case kX64S128Zero: | 161 case kX64S128Zero: |
142 case kX64S32x4Select: | |
143 return (instr->addressing_mode() == kMode_None) | 162 return (instr->addressing_mode() == kMode_None) |
144 ? kNoOpcodeFlags | 163 ? kNoOpcodeFlags |
145 : kIsLoadOperation | kHasSideEffect; | 164 : kIsLoadOperation | kHasSideEffect; |
146 | 165 |
147 case kX64Idiv: | 166 case kX64Idiv: |
148 case kX64Idiv32: | 167 case kX64Idiv32: |
149 case kX64Udiv: | 168 case kX64Udiv: |
150 case kX64Udiv32: | 169 case kX64Udiv32: |
151 return (instr->addressing_mode() == kMode_None) | 170 return (instr->addressing_mode() == kMode_None) |
152 ? kMayNeedDeoptCheck | 171 ? kMayNeedDeoptCheck |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 case kArchTruncateDoubleToI: | 291 case kArchTruncateDoubleToI: |
273 return 6; | 292 return 6; |
274 default: | 293 default: |
275 return 1; | 294 return 1; |
276 } | 295 } |
277 } | 296 } |
278 | 297 |
279 } // namespace compiler | 298 } // namespace compiler |
280 } // namespace internal | 299 } // namespace internal |
281 } // namespace v8 | 300 } // namespace v8 |
OLD | NEW |