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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
369 V(TruncateFloat32ToInt32) \ | 369 V(TruncateFloat32ToInt32) \ |
370 V(TruncateFloat32ToUint32) \ | 370 V(TruncateFloat32ToUint32) \ |
371 V(TryTruncateFloat32ToInt64) \ | 371 V(TryTruncateFloat32ToInt64) \ |
372 V(TryTruncateFloat64ToInt64) \ | 372 V(TryTruncateFloat64ToInt64) \ |
373 V(TryTruncateFloat32ToUint64) \ | 373 V(TryTruncateFloat32ToUint64) \ |
374 V(TryTruncateFloat64ToUint64) \ | 374 V(TryTruncateFloat64ToUint64) \ |
375 V(ChangeInt32ToFloat64) \ | 375 V(ChangeInt32ToFloat64) \ |
376 V(ChangeInt32ToInt64) \ | 376 V(ChangeInt32ToInt64) \ |
377 V(ChangeUint32ToFloat64) \ | 377 V(ChangeUint32ToFloat64) \ |
378 V(ChangeUint32ToUint64) \ | 378 V(ChangeUint32ToUint64) \ |
379 V(ImpossibleToBit) \ | |
Benedikt Meurer
2016/07/24 17:23:41
Hm, why not have a single Impossible machine/commo
Jarin
2016/07/24 18:15:40
It just seemed that parametrized machine ops are d
Benedikt Meurer
2016/07/25 03:36:51
I'd have made this a common operator in the same s
| |
380 V(ImpossibleToWord32) \ | |
381 V(ImpossibleToWord64) \ | |
382 V(ImpossibleToFloat32) \ | |
383 V(ImpossibleToFloat64) \ | |
384 V(ImpossibleToTagged) \ | |
379 V(TruncateFloat64ToFloat32) \ | 385 V(TruncateFloat64ToFloat32) \ |
380 V(TruncateInt64ToInt32) \ | 386 V(TruncateInt64ToInt32) \ |
381 V(RoundFloat64ToInt32) \ | 387 V(RoundFloat64ToInt32) \ |
382 V(RoundInt32ToFloat32) \ | 388 V(RoundInt32ToFloat32) \ |
383 V(RoundInt64ToFloat32) \ | 389 V(RoundInt64ToFloat32) \ |
384 V(RoundInt64ToFloat64) \ | 390 V(RoundInt64ToFloat64) \ |
385 V(RoundUint32ToFloat32) \ | 391 V(RoundUint32ToFloat32) \ |
386 V(RoundUint64ToFloat32) \ | 392 V(RoundUint64ToFloat32) \ |
387 V(RoundUint64ToFloat64) \ | 393 V(RoundUint64ToFloat64) \ |
388 V(BitcastFloat32ToInt32) \ | 394 V(BitcastFloat32ToInt32) \ |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
722 } | 728 } |
723 }; | 729 }; |
724 | 730 |
725 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 731 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
726 | 732 |
727 } // namespace compiler | 733 } // namespace compiler |
728 } // namespace internal | 734 } // namespace internal |
729 } // namespace v8 | 735 } // namespace v8 |
730 | 736 |
731 #endif // V8_COMPILER_OPCODES_H_ | 737 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |