OLD | NEW |
---|---|
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef V8_COMPILER_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
170 V(NumberLessThanOrEqual) \ | 170 V(NumberLessThanOrEqual) \ |
171 V(ReferenceEqual) \ | 171 V(ReferenceEqual) \ |
172 V(StringEqual) \ | 172 V(StringEqual) \ |
173 V(StringLessThan) \ | 173 V(StringLessThan) \ |
174 V(StringLessThanOrEqual) | 174 V(StringLessThanOrEqual) |
175 | 175 |
176 #define SIMPLIFIED_OP_LIST(V) \ | 176 #define SIMPLIFIED_OP_LIST(V) \ |
177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
178 V(BooleanNot) \ | 178 V(BooleanNot) \ |
179 V(BooleanToNumber) \ | 179 V(BooleanToNumber) \ |
180 V(SpeculativeNumberAdd) \ | |
181 V(SpeculativeNumberSubtract) \ | |
180 V(NumberAdd) \ | 182 V(NumberAdd) \ |
181 V(NumberSubtract) \ | 183 V(NumberSubtract) \ |
182 V(NumberMultiply) \ | 184 V(NumberMultiply) \ |
183 V(NumberDivide) \ | 185 V(NumberDivide) \ |
184 V(NumberModulus) \ | 186 V(NumberModulus) \ |
185 V(NumberBitwiseOr) \ | 187 V(NumberBitwiseOr) \ |
186 V(NumberBitwiseXor) \ | 188 V(NumberBitwiseXor) \ |
187 V(NumberBitwiseAnd) \ | 189 V(NumberBitwiseAnd) \ |
188 V(NumberShiftLeft) \ | 190 V(NumberShiftLeft) \ |
189 V(NumberShiftRight) \ | 191 V(NumberShiftRight) \ |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 V(RoundInt32ToFloat32) \ | 315 V(RoundInt32ToFloat32) \ |
314 V(RoundInt64ToFloat32) \ | 316 V(RoundInt64ToFloat32) \ |
315 V(RoundInt64ToFloat64) \ | 317 V(RoundInt64ToFloat64) \ |
316 V(RoundUint32ToFloat32) \ | 318 V(RoundUint32ToFloat32) \ |
317 V(RoundUint64ToFloat32) \ | 319 V(RoundUint64ToFloat32) \ |
318 V(RoundUint64ToFloat64) \ | 320 V(RoundUint64ToFloat64) \ |
319 V(BitcastFloat32ToInt32) \ | 321 V(BitcastFloat32ToInt32) \ |
320 V(BitcastFloat64ToInt64) \ | 322 V(BitcastFloat64ToInt64) \ |
321 V(BitcastInt32ToFloat32) \ | 323 V(BitcastInt32ToFloat32) \ |
322 V(BitcastInt64ToFloat64) \ | 324 V(BitcastInt64ToFloat64) \ |
325 V(CheckedUint32ToInt32) \ | |
Benedikt Meurer
2016/05/30 18:39:50
These should really be simplified operators.
Jarin
2016/05/31 20:28:53
Done.
| |
326 V(CheckedFloat64ToInt32) \ | |
327 V(CheckedTaggedToInt32) \ | |
328 V(CheckedTaggedToFloat64) \ | |
323 V(Float32Add) \ | 329 V(Float32Add) \ |
324 V(Float32Sub) \ | 330 V(Float32Sub) \ |
325 V(Float32SubPreserveNan) \ | 331 V(Float32SubPreserveNan) \ |
326 V(Float32Mul) \ | 332 V(Float32Mul) \ |
327 V(Float32Div) \ | 333 V(Float32Div) \ |
328 V(Float32Max) \ | 334 V(Float32Max) \ |
329 V(Float32Min) \ | 335 V(Float32Min) \ |
330 V(Float32Abs) \ | 336 V(Float32Abs) \ |
331 V(Float32Sqrt) \ | 337 V(Float32Sqrt) \ |
332 V(Float32RoundDown) \ | 338 V(Float32RoundDown) \ |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
630 } | 636 } |
631 }; | 637 }; |
632 | 638 |
633 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 639 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
634 | 640 |
635 } // namespace compiler | 641 } // namespace compiler |
636 } // namespace internal | 642 } // namespace internal |
637 } // namespace v8 | 643 } // namespace v8 |
638 | 644 |
639 #endif // V8_COMPILER_OPCODES_H_ | 645 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |