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 ICETYPEX8632_TABLE \ | 69 #define ICETYPEX8632_TABLE \ |
70 /* tag, cvt, sdss, pack, width */ \ | 70 /* tag, element type, cvt, sdss, pack, width */ \ |
71 X(IceType_void, "?", "" , "" , "???") \ | 71 X(IceType_void, IceType_void, "?" , "" , "" , "???") \ |
72 X(IceType_i1, "si", "" , "" , "byte ptr") \ | 72 X(IceType_i1, IceType_void, "si", "" , "" , "byte ptr") \ |
73 X(IceType_i8, "si", "" , "" , "byte ptr") \ | 73 X(IceType_i8, IceType_void, "si", "" , "" , "byte ptr") \ |
74 X(IceType_i16, "si", "" , "" , "word ptr") \ | 74 X(IceType_i16, IceType_void, "si", "" , "" , "word ptr") \ |
75 X(IceType_i32, "si", "" , "" , "dword ptr") \ | 75 X(IceType_i32, IceType_void, "si", "" , "" , "dword ptr") \ |
76 X(IceType_i64, "si", "" , "" , "qword ptr") \ | 76 X(IceType_i64, IceType_void, "si", "" , "" , "qword ptr") \ |
77 X(IceType_f32, "ss", "ss", "" , "dword ptr") \ | 77 X(IceType_f32, IceType_void, "ss", "ss", "" , "dword ptr") \ |
78 X(IceType_f64, "sd", "sd", "" , "qword ptr") \ | 78 X(IceType_f64, IceType_void, "sd", "sd", "" , "qword ptr") \ |
79 X(IceType_v4i1, "?", "" , "" , "xmmword ptr") \ | 79 X(IceType_v4i1, IceType_i32 , "?" , "" , "" , "xmmword ptr") \ |
80 X(IceType_v8i1, "?", "" , "" , "xmmword ptr") \ | 80 X(IceType_v8i1, IceType_i16 , "?" , "" , "" , "xmmword ptr") \ |
81 X(IceType_v16i1, "?", "" , "" , "xmmword ptr") \ | 81 X(IceType_v16i1, IceType_i8 , "?" , "" , "" , "xmmword ptr") \ |
82 X(IceType_v16i8, "?", "" , "b", "xmmword ptr") \ | 82 X(IceType_v16i8, IceType_i8 , "?" , "" , "b", "xmmword ptr") \ |
83 X(IceType_v8i16, "?", "" , "w", "xmmword ptr") \ | 83 X(IceType_v8i16, IceType_i16 , "?" , "" , "w", "xmmword ptr") \ |
84 X(IceType_v4i32, "dq", "" , "d", "xmmword ptr") \ | 84 X(IceType_v4i32, IceType_i32 , "dq", "" , "d", "xmmword ptr") \ |
85 X(IceType_v4f32, "ps", "" , "" , "xmmword ptr") \ | 85 X(IceType_v4f32, IceType_f32 , "ps", "" , "" , "xmmword ptr") \ |
86 //#define X(tag, cvt, sdss, width) | 86 //#define X(tag, elementty, cvt, sdss, width) |
87 | 87 |
88 #endif // SUBZERO_SRC_ICEINSTX8632_DEF | 88 #endif // SUBZERO_SRC_ICEINSTX8632_DEF |
OLD | NEW |