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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 case kAVXFloat32Abs: | 116 case kAVXFloat32Abs: |
117 case kAVXFloat32Neg: | 117 case kAVXFloat32Neg: |
118 case kX64BitcastFI: | 118 case kX64BitcastFI: |
119 case kX64BitcastDL: | 119 case kX64BitcastDL: |
120 case kX64BitcastIF: | 120 case kX64BitcastIF: |
121 case kX64BitcastLD: | 121 case kX64BitcastLD: |
122 case kX64Lea32: | 122 case kX64Lea32: |
123 case kX64Lea: | 123 case kX64Lea: |
124 case kX64Dec32: | 124 case kX64Dec32: |
125 case kX64Inc32: | 125 case kX64Inc32: |
126 case kX64Int32x4Splat: | 126 case kX64I32x4Splat: |
127 case kX64Int32x4ExtractLane: | 127 case kX64I32x4ExtractLane: |
128 case kX64Int32x4ReplaceLane: | 128 case kX64I32x4ReplaceLane: |
129 case kX64Int32x4Add: | 129 case kX64I32x4Shl: |
130 case kX64Int32x4Sub: | 130 case kX64I32x4ShrS: |
131 case kX64Int32x4Mul: | 131 case kX64I32x4Add: |
132 case kX64Int32x4Min: | 132 case kX64I32x4Sub: |
133 case kX64Int32x4Max: | 133 case kX64I32x4Mul: |
134 case kX64Int32x4Equal: | 134 case kX64I32x4MinS: |
135 case kX64Int32x4NotEqual: | 135 case kX64I32x4MaxS: |
136 case kX64Int32x4ShiftLeftByScalar: | 136 case kX64I32x4Eq: |
137 case kX64Int32x4ShiftRightByScalar: | 137 case kX64I32x4Ne: |
138 case kX64Uint32x4ShiftRightByScalar: | 138 case kX64I32x4ShrU: |
139 case kX64Uint32x4Min: | 139 case kX64I32x4MinU: |
140 case kX64Uint32x4Max: | 140 case kX64I32x4MaxU: |
141 case kX64Simd32x4Select: | 141 case kX64S128Zero: |
142 case kX64Simd128Zero: | 142 case kX64S32x4Select: |
143 return (instr->addressing_mode() == kMode_None) | 143 return (instr->addressing_mode() == kMode_None) |
144 ? kNoOpcodeFlags | 144 ? kNoOpcodeFlags |
145 : kIsLoadOperation | kHasSideEffect; | 145 : kIsLoadOperation | kHasSideEffect; |
146 | 146 |
147 case kX64Idiv: | 147 case kX64Idiv: |
148 case kX64Idiv32: | 148 case kX64Idiv32: |
149 case kX64Udiv: | 149 case kX64Udiv: |
150 case kX64Udiv32: | 150 case kX64Udiv32: |
151 return (instr->addressing_mode() == kMode_None) | 151 return (instr->addressing_mode() == kMode_None) |
152 ? kMayNeedDeoptCheck | 152 ? kMayNeedDeoptCheck |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 case kArchTruncateDoubleToI: | 272 case kArchTruncateDoubleToI: |
273 return 6; | 273 return 6; |
274 default: | 274 default: |
275 return 1; | 275 return 1; |
276 } | 276 } |
277 } | 277 } |
278 | 278 |
279 } // namespace compiler | 279 } // namespace compiler |
280 } // namespace internal | 280 } // namespace internal |
281 } // namespace v8 | 281 } // namespace v8 |
OLD | NEW |