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 kX64Int32x4Create: | 126 case kX64Int32x4Splat: |
127 case kX64Int32x4ExtractLane: | 127 case kX64Int32x4ExtractLane: |
128 case kX64Int32x4ReplaceLane: | 128 case kX64Int32x4ReplaceLane: |
129 case kX64Int32x4Add: | 129 case kX64Int32x4Add: |
130 case kX64Int32x4Sub: | 130 case kX64Int32x4Sub: |
| 131 case kX64Simd128Zero: |
131 return (instr->addressing_mode() == kMode_None) | 132 return (instr->addressing_mode() == kMode_None) |
132 ? kNoOpcodeFlags | 133 ? kNoOpcodeFlags |
133 : kIsLoadOperation | kHasSideEffect; | 134 : kIsLoadOperation | kHasSideEffect; |
134 | 135 |
135 case kX64Idiv: | 136 case kX64Idiv: |
136 case kX64Idiv32: | 137 case kX64Idiv32: |
137 case kX64Udiv: | 138 case kX64Udiv: |
138 case kX64Udiv32: | 139 case kX64Udiv32: |
139 return (instr->addressing_mode() == kMode_None) | 140 return (instr->addressing_mode() == kMode_None) |
140 ? kMayNeedDeoptCheck | 141 ? kMayNeedDeoptCheck |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 case kArchTruncateDoubleToI: | 266 case kArchTruncateDoubleToI: |
266 return 6; | 267 return 6; |
267 default: | 268 default: |
268 return 1; | 269 return 1; |
269 } | 270 } |
270 } | 271 } |
271 | 272 |
272 } // namespace compiler | 273 } // namespace compiler |
273 } // namespace internal | 274 } // namespace internal |
274 } // namespace v8 | 275 } // namespace v8 |
OLD | NEW |