OLD | NEW |
1 //===- subzero/src/IceInstX8632.def - X-macros for x86-32 insts -*- C++ -*-===// | 1 //===- subzero/src/IceInstX8632.def - X-macros for x86-32 insts -*- 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 lowered x86-32 instructions in the | 10 // This file defines properties of lowered x86-32 instructions in the |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 X(Br_e, "e", "je") \ | 59 X(Br_e, "e", "je") \ |
60 X(Br_g, "g", "jg") \ | 60 X(Br_g, "g", "jg") \ |
61 X(Br_ge, "ge", "jge") \ | 61 X(Br_ge, "ge", "jge") \ |
62 X(Br_l, "l", "jl") \ | 62 X(Br_l, "l", "jl") \ |
63 X(Br_le, "le", "jle") \ | 63 X(Br_le, "le", "jle") \ |
64 X(Br_ne, "ne", "jne") \ | 64 X(Br_ne, "ne", "jne") \ |
65 X(Br_np, "np", "jnp") \ | 65 X(Br_np, "np", "jnp") \ |
66 X(Br_p, "p", "jp") \ | 66 X(Br_p, "p", "jp") \ |
67 //#define X(tag, dump, emit) | 67 //#define X(tag, dump, emit) |
68 | 68 |
| 69 #define ICEINSTX8632CMPPS_TABLE \ |
| 70 /* enum value, emit */ \ |
| 71 X(Cmpps_eq, "eq") \ |
| 72 X(Cmpps_lt, "lt") \ |
| 73 X(Cmpps_le, "le") \ |
| 74 X(Cmpps_unord, "unord") \ |
| 75 X(Cmpps_neq, "neq") \ |
| 76 X(Cmpps_nlt, "nlt") \ |
| 77 X(Cmpps_nle, "nle") \ |
| 78 X(Cmpps_ord, "ord") \ |
| 79 //#define X(tag, emit) |
| 80 |
69 #define ICETYPEX8632_TABLE \ | 81 #define ICETYPEX8632_TABLE \ |
70 /* tag, element type, cvt, sdss, pack, width */ \ | 82 /* tag, element type, cvt, sdss, pack, width */ \ |
71 X(IceType_void, IceType_void, "?" , "" , "" , "???") \ | 83 X(IceType_void, IceType_void, "?" , "" , "" , "???") \ |
72 X(IceType_i1, IceType_void, "si", "" , "" , "byte ptr") \ | 84 X(IceType_i1, IceType_void, "si", "" , "" , "byte ptr") \ |
73 X(IceType_i8, IceType_void, "si", "" , "" , "byte ptr") \ | 85 X(IceType_i8, IceType_void, "si", "" , "" , "byte ptr") \ |
74 X(IceType_i16, IceType_void, "si", "" , "" , "word ptr") \ | 86 X(IceType_i16, IceType_void, "si", "" , "" , "word ptr") \ |
75 X(IceType_i32, IceType_void, "si", "" , "" , "dword ptr") \ | 87 X(IceType_i32, IceType_void, "si", "" , "" , "dword ptr") \ |
76 X(IceType_i64, IceType_void, "si", "" , "" , "qword ptr") \ | 88 X(IceType_i64, IceType_void, "si", "" , "" , "qword ptr") \ |
77 X(IceType_f32, IceType_void, "ss", "ss", "" , "dword ptr") \ | 89 X(IceType_f32, IceType_void, "ss", "ss", "" , "dword ptr") \ |
78 X(IceType_f64, IceType_void, "sd", "sd", "" , "qword ptr") \ | 90 X(IceType_f64, IceType_void, "sd", "sd", "" , "qword ptr") \ |
79 X(IceType_v4i1, IceType_i32 , "?" , "" , "" , "xmmword ptr") \ | 91 X(IceType_v4i1, IceType_i32 , "?" , "" , "" , "xmmword ptr") \ |
80 X(IceType_v8i1, IceType_i16 , "?" , "" , "" , "xmmword ptr") \ | 92 X(IceType_v8i1, IceType_i16 , "?" , "" , "" , "xmmword ptr") \ |
81 X(IceType_v16i1, IceType_i8 , "?" , "" , "" , "xmmword ptr") \ | 93 X(IceType_v16i1, IceType_i8 , "?" , "" , "" , "xmmword ptr") \ |
82 X(IceType_v16i8, IceType_i8 , "?" , "" , "b", "xmmword ptr") \ | 94 X(IceType_v16i8, IceType_i8 , "?" , "" , "b", "xmmword ptr") \ |
83 X(IceType_v8i16, IceType_i16 , "?" , "" , "w", "xmmword ptr") \ | 95 X(IceType_v8i16, IceType_i16 , "?" , "" , "w", "xmmword ptr") \ |
84 X(IceType_v4i32, IceType_i32 , "dq", "" , "d", "xmmword ptr") \ | 96 X(IceType_v4i32, IceType_i32 , "dq", "" , "d", "xmmword ptr") \ |
85 X(IceType_v4f32, IceType_f32 , "ps", "" , "" , "xmmword ptr") \ | 97 X(IceType_v4f32, IceType_f32 , "ps", "" , "" , "xmmword ptr") \ |
86 //#define X(tag, elementty, cvt, sdss, width) | 98 //#define X(tag, elementty, cvt, sdss, width) |
87 | 99 |
88 #endif // SUBZERO_SRC_ICEINSTX8632_DEF | 100 #endif // SUBZERO_SRC_ICEINSTX8632_DEF |
OLD | NEW |