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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 case kAVXFloat64Add: | 90 case kAVXFloat64Add: |
91 case kAVXFloat64Sub: | 91 case kAVXFloat64Sub: |
92 case kAVXFloat64Mul: | 92 case kAVXFloat64Mul: |
93 case kAVXFloat64Div: | 93 case kAVXFloat64Div: |
94 case kAVXFloat64Abs: | 94 case kAVXFloat64Abs: |
95 case kAVXFloat64Neg: | 95 case kAVXFloat64Neg: |
96 case kAVXFloat32Abs: | 96 case kAVXFloat32Abs: |
97 case kAVXFloat32Neg: | 97 case kAVXFloat32Neg: |
98 case kIA32BitcastFI: | 98 case kIA32BitcastFI: |
99 case kIA32BitcastIF: | 99 case kIA32BitcastIF: |
100 case kIA32Int32x4Splat: | |
101 case kIA32Int32x4ExtractLane: | |
102 case kIA32Int32x4ReplaceLane: | |
103 case kSSEInt32x4Add: | |
104 case kSSEInt32x4Sub: | |
105 case kAVXInt32x4Add: | |
106 case kAVXInt32x4Sub: | |
107 return (instr->addressing_mode() == kMode_None) | 100 return (instr->addressing_mode() == kMode_None) |
108 ? kNoOpcodeFlags | 101 ? kNoOpcodeFlags |
109 : kIsLoadOperation | kHasSideEffect; | 102 : kIsLoadOperation | kHasSideEffect; |
110 | 103 |
111 case kIA32Idiv: | 104 case kIA32Idiv: |
112 case kIA32Udiv: | 105 case kIA32Udiv: |
113 return (instr->addressing_mode() == kMode_None) | 106 return (instr->addressing_mode() == kMode_None) |
114 ? kMayNeedDeoptCheck | 107 ? kMayNeedDeoptCheck |
115 : kMayNeedDeoptCheck | kIsLoadOperation | kHasSideEffect; | 108 : kMayNeedDeoptCheck | kIsLoadOperation | kHasSideEffect; |
116 | 109 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 case kArchTruncateDoubleToI: | 210 case kArchTruncateDoubleToI: |
218 return 9; | 211 return 9; |
219 default: | 212 default: |
220 return 1; | 213 return 1; |
221 } | 214 } |
222 } | 215 } |
223 | 216 |
224 } // namespace compiler | 217 } // namespace compiler |
225 } // namespace internal | 218 } // namespace internal |
226 } // namespace v8 | 219 } // namespace v8 |
OLD | NEW |