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 | 10 // This file defines properties of ICE instructions in the form of x-macros. |
11 // x-macros. | |
12 // | 11 // |
13 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
14 | 13 |
15 #ifndef SUBZERO_SRC_ICEINST_DEF | 14 #ifndef SUBZERO_SRC_ICEINST_DEF |
16 #define SUBZERO_SRC_ICEINST_DEF | 15 #define SUBZERO_SRC_ICEINST_DEF |
17 | 16 |
18 #define ICEINSTARITHMETIC_TABLE \ | 17 #define ICEINSTARITHMETIC_TABLE \ |
19 /* enum value, printable string, commutative */ \ | 18 /* enum value, printable string, commutative */ \ |
20 X(Add, "add", 1) \ | 19 X(Add, "add", 1) \ |
21 X(Fadd, "fadd", 0) \ | 20 X(Fadd, "fadd", 0) \ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 X(Uge, "uge") \ | 78 X(Uge, "uge") \ |
80 X(Ult, "ult") \ | 79 X(Ult, "ult") \ |
81 X(Ule, "ule") \ | 80 X(Ule, "ule") \ |
82 X(Sgt, "sgt") \ | 81 X(Sgt, "sgt") \ |
83 X(Sge, "sge") \ | 82 X(Sge, "sge") \ |
84 X(Slt, "slt") \ | 83 X(Slt, "slt") \ |
85 X(Sle, "sle") | 84 X(Sle, "sle") |
86 //#define X(tag, str) | 85 //#define X(tag, str) |
87 | 86 |
88 #endif // SUBZERO_SRC_ICEINST_DEF | 87 #endif // SUBZERO_SRC_ICEINST_DEF |
OLD | NEW |