OLD | NEW |
---|---|
1 //===- subzero/src/IceInst.def - X-macros for ICE instructions -*- C++ -*-===// | 1 //===- subzero/src/IceInst.def - X-macros for ICE instructions -*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file defines properties of ICE instructions in the form of x-macros. | 10 // This file defines properties of ICE instructions in the form of x-macros. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 X(Ugt, "ugt") \ | 81 X(Ugt, "ugt") \ |
82 X(Uge, "uge") \ | 82 X(Uge, "uge") \ |
83 X(Ult, "ult") \ | 83 X(Ult, "ult") \ |
84 X(Ule, "ule") \ | 84 X(Ule, "ule") \ |
85 X(Une, "une") \ | 85 X(Une, "une") \ |
86 X(Uno, "uno") \ | 86 X(Uno, "uno") \ |
87 X(True, "true") | 87 X(True, "true") |
88 //#define X(tag, str) | 88 //#define X(tag, str) |
89 | 89 |
90 #define ICEINSTICMP_TABLE \ | 90 #define ICEINSTICMP_TABLE \ |
91 /* enum value, printable string */ \ | 91 /* enum value, inverse, printable string */ \ |
John
2016/07/08 18:21:08
this is not the inverse of the condition... I woul
Jim Stichnoth
2016/07/10 13:25:32
Yeah, I think I would agree.
My suggestion now is
manasijm
2016/07/11 22:27:04
Done.
| |
92 X(Eq, "eq") \ | 92 X(Eq, InstIcmp::ICond::Eq, "eq") \ |
93 X(Ne, "ne") \ | 93 X(Ne, InstIcmp::ICond::Ne, "ne") \ |
94 X(Ugt, "ugt") \ | 94 X(Ugt, InstIcmp::ICond::Ult, "ugt") \ |
95 X(Uge, "uge") \ | 95 X(Uge, InstIcmp::ICond::Ule, "uge") \ |
96 X(Ult, "ult") \ | 96 X(Ult, InstIcmp::ICond::Ugt, "ult") \ |
97 X(Ule, "ule") \ | 97 X(Ule, InstIcmp::ICond::Uge, "ule") \ |
98 X(Sgt, "sgt") \ | 98 X(Sgt, InstIcmp::ICond::Slt, "sgt") \ |
99 X(Sge, "sge") \ | 99 X(Sge, InstIcmp::ICond::Sle, "sge") \ |
100 X(Slt, "slt") \ | 100 X(Slt, InstIcmp::ICond::Sgt, "slt") \ |
101 X(Sle, "sle") | 101 X(Sle, InstIcmp::ICond::Sge, "sle") |
102 //#define X(tag, str) | 102 //#define X(tag, inverse, str) |
103 | 103 |
104 #endif // SUBZERO_SRC_ICEINST_DEF | 104 #endif // SUBZERO_SRC_ICEINST_DEF |
OLD | NEW |