gallium: Drop unused X2D opcode.
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_opcode_tmp.h
1 /**************************************************************************
2 *
3 * Copyright 2008 VMware, Inc.
4 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial portions
16 * of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR
22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *
26 **************************************************************************/
27 #ifndef OP12_TEX
28 #define OP12_TEX(a) OP12(a)
29 #endif
30
31 #ifndef OP14_TEX
32 #define OP14_TEX(a) OP14(a)
33 #endif
34
35 #ifndef OP12_SAMPLE
36 #define OP12_SAMPLE(a) OP12(a)
37 #endif
38
39 #ifndef OP13_SAMPLE
40 #define OP13_SAMPLE(a) OP13(a)
41 #endif
42
43 #ifndef OP14_SAMPLE
44 #define OP14_SAMPLE(a) OP14(a)
45 #endif
46
47 #ifndef OP15_SAMPLE
48 #define OP15_SAMPLE(a) OP15(a)
49 #endif
50
51 #ifndef OP00_LBL
52 #define OP00_LBL(a) OP00(a)
53 #endif
54
55 #ifndef OP01_LBL
56 #define OP01_LBL(a) OP01(a)
57 #endif
58
59 OP11(ARL)
60 OP11(MOV)
61 OP11(LIT)
62 OP11(RCP)
63 OP11(RSQ)
64 OP11(EXP)
65 OP11(LOG)
66 OP12(MUL)
67 OP12(ADD)
68 OP12(DP3)
69 OP12(DP4)
70 OP12(DST)
71 OP12(MIN)
72 OP12(MAX)
73 OP12(SLT)
74 OP12(SGE)
75 OP13(MAD)
76 OP12(SUB)
77 OP13(LRP)
78 OP13(CND)
79 OP11(SQRT)
80 OP13(DP2A)
81 OP11(FRC)
82 OP13(CLAMP)
83 OP11(FLR)
84 OP11(ROUND)
85 OP11(EX2)
86 OP11(LG2)
87 OP12(POW)
88 OP12(XPD)
89 OP11(ABS)
90 OP12(DPH)
91 OP11(COS)
92 OP11(DDX)
93 OP11(DDY)
94 OP00(KILL)
95 OP11(PK2H)
96 OP11(PK2US)
97 OP11(PK4B)
98 OP11(PK4UB)
99 OP12(RFL)
100 OP12(SEQ)
101 OP12(SFL)
102 OP12(SGT)
103 OP11(SIN)
104 OP12(SLE)
105 OP12(SNE)
106 OP12(STR)
107 OP12_TEX(TEX)
108 OP14_TEX(TXD)
109 OP12_TEX(TXP)
110 OP11(UP2H)
111 OP11(UP2US)
112 OP11(UP4B)
113 OP11(UP4UB)
114 OP11(ARR)
115 OP01(BRA)
116 OP00_LBL(CAL)
117 OP00(RET)
118 OP11(SSG)
119 OP13(CMP)
120 OP11(SCS)
121 OP12_TEX(TXB)
122 OP12(DIV)
123 OP12(DP2)
124 OP12_TEX(TXL)
125 OP00(BRK)
126 OP01_LBL(IF)
127 OP01_LBL(UIF)
128 OP00_LBL(ELSE)
129 OP00(ENDIF)
130 OP01(PUSHA)
131 OP10(POPA)
132 OP11(CEIL)
133 OP11(I2F)
134 OP11(NOT)
135 OP11(TRUNC)
136 OP12(SHL)
137 OP12(AND)
138 OP12(OR)
139 OP12(MOD)
140 OP12(XOR)
141 OP13(SAD)
142 OP12_TEX(TXF)
143 OP12_TEX(TXQ)
144 OP00(CONT)
145 OP01(EMIT)
146 OP01(ENDPRIM)
147 OP00_LBL(BGNLOOP)
148 OP00(BGNSUB)
149 OP00_LBL(ENDLOOP)
150 OP00(ENDSUB)
151 OP00(NOP)
152 OP01(CALLNZ)
153 OP01(BREAKC)
154 OP01(KILL_IF)
155 OP00(END)
156 OP11(F2I)
157 OP12(FSEQ)
158 OP12(FSGE)
159 OP12(FSLT)
160 OP12(FSNE)
161 OP12(IDIV)
162 OP12(IMAX)
163 OP12(IMIN)
164 OP11(INEG)
165 OP12(ISGE)
166 OP12(ISHR)
167 OP12(ISLT)
168 OP11(F2U)
169 OP11(U2F)
170 OP12(UADD)
171 OP12(UDIV)
172 OP13(UMAD)
173 OP12(UMAX)
174 OP12(UMIN)
175 OP12(UMOD)
176 OP12(UMUL)
177 OP12(USEQ)
178 OP12(USGE)
179 OP12(USHR)
180 OP12(USLT)
181 OP12(USNE)
182 OP01(SWITCH)
183 OP01(CASE)
184 OP00(DEFAULT)
185 OP00(ENDSWITCH)
186
187 OP13_SAMPLE(SAMPLE)
188 OP12_SAMPLE(SAMPLE_I)
189 OP13_SAMPLE(SAMPLE_I_MS)
190 OP14_SAMPLE(SAMPLE_B)
191 OP14_SAMPLE(SAMPLE_C)
192 OP14_SAMPLE(SAMPLE_C_LZ)
193 OP15_SAMPLE(SAMPLE_D)
194 OP14_SAMPLE(SAMPLE_L)
195 OP13_SAMPLE(GATHER4)
196 OP12(SVIEWINFO)
197 OP13(SAMPLE_POS)
198 OP12(SAMPLE_INFO)
199 OP11(UARL)
200
201 OP13(UCMP)
202
203 OP12(IMUL_HI)
204 OP12(UMUL_HI)
205
206 #undef OP00
207 #undef OP01
208 #undef OP10
209 #undef OP11
210 #undef OP12
211 #undef OP13
212
213 #ifdef OP14
214 #undef OP14
215 #endif
216
217 #ifdef OP15
218 #undef OP15
219 #endif
220
221 #undef OP00_LBL
222 #undef OP01_LBL
223
224 #undef OP12_TEX
225 #undef OP14_TEX
226
227 #undef OP12_SAMPLE
228 #undef OP13_SAMPLE
229 #undef OP14_SAMPLE
230 #undef OP15_SAMPLE