gallium: remove TGSI_OPCODE_SUB
[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 OP13(LRP)
77 OP11(SQRT)
78 OP13(DP2A)
79 OP11(FRC)
80 OP13(CLAMP)
81 OP11(FLR)
82 OP11(ROUND)
83 OP11(EX2)
84 OP11(LG2)
85 OP12(POW)
86 OP12(XPD)
87 OP12(DPH)
88 OP11(COS)
89 OP11(DDX)
90 OP11(DDY)
91 OP11(DDX_FINE)
92 OP11(DDY_FINE)
93 OP00(KILL)
94 OP11(PK2H)
95 OP11(PK2US)
96 OP11(PK4B)
97 OP11(PK4UB)
98 OP12(SEQ)
99 OP12(SGT)
100 OP11(SIN)
101 OP12(SLE)
102 OP12(SNE)
103 OP12_TEX(TEX)
104 OP14_TEX(TXD)
105 OP12_TEX(TXP)
106 OP11(UP2H)
107 OP11(UP2US)
108 OP11(UP4B)
109 OP11(UP4UB)
110 OP11(ARR)
111 OP00_LBL(CAL)
112 OP00(RET)
113 OP11(SSG)
114 OP13(CMP)
115 OP11(SCS)
116 OP12_TEX(TXB)
117 OP12(DIV)
118 OP12(DP2)
119 OP12_TEX(TXL)
120 OP00(BRK)
121 OP01_LBL(IF)
122 OP01_LBL(UIF)
123 OP00_LBL(ELSE)
124 OP00(ENDIF)
125 OP01(PUSHA)
126 OP10(POPA)
127 OP11(CEIL)
128 OP11(I2F)
129 OP11(NOT)
130 OP11(TRUNC)
131 OP12(SHL)
132 OP12(AND)
133 OP12(OR)
134 OP12(MOD)
135 OP12(XOR)
136 OP13(SAD)
137 OP12_TEX(TXF)
138 OP12_TEX(TXQ)
139 OP00(CONT)
140 OP01(EMIT)
141 OP01(ENDPRIM)
142 OP00_LBL(BGNLOOP)
143 OP00(BGNSUB)
144 OP00_LBL(ENDLOOP)
145 OP00(ENDSUB)
146 OP00(NOP)
147 OP01(CALLNZ)
148 OP01(BREAKC)
149 OP01(KILL_IF)
150 OP00(END)
151 OP11(F2I)
152 OP12(FSEQ)
153 OP12(FSGE)
154 OP12(FSLT)
155 OP12(FSNE)
156 OP12(IDIV)
157 OP12(IMAX)
158 OP12(IMIN)
159 OP11(INEG)
160 OP12(ISGE)
161 OP12(ISHR)
162 OP12(ISLT)
163 OP11(F2U)
164 OP11(U2F)
165 OP12(UADD)
166 OP12(UDIV)
167 OP13(UMAD)
168 OP12(UMAX)
169 OP12(UMIN)
170 OP12(UMOD)
171 OP12(UMUL)
172 OP12(USEQ)
173 OP12(USGE)
174 OP12(USHR)
175 OP12(USLT)
176 OP12(USNE)
177 OP01(SWITCH)
178 OP01(CASE)
179 OP00(DEFAULT)
180 OP00(ENDSWITCH)
181
182 OP13_SAMPLE(SAMPLE)
183 OP12_SAMPLE(SAMPLE_I)
184 OP13_SAMPLE(SAMPLE_I_MS)
185 OP14_SAMPLE(SAMPLE_B)
186 OP14_SAMPLE(SAMPLE_C)
187 OP14_SAMPLE(SAMPLE_C_LZ)
188 OP15_SAMPLE(SAMPLE_D)
189 OP14_SAMPLE(SAMPLE_L)
190 OP13_SAMPLE(GATHER4)
191 OP12(SVIEWINFO)
192 OP13(SAMPLE_POS)
193 OP12(SAMPLE_INFO)
194 OP11(UARL)
195
196 OP13(UCMP)
197 OP11(IABS)
198 OP11(ISSG)
199
200 OP12(IMUL_HI)
201 OP12(UMUL_HI)
202
203 #undef OP00
204 #undef OP01
205 #undef OP10
206 #undef OP11
207 #undef OP12
208 #undef OP13
209
210 #ifdef OP14
211 #undef OP14
212 #endif
213
214 #ifdef OP15
215 #undef OP15
216 #endif
217
218 #undef OP00_LBL
219 #undef OP01_LBL
220
221 #undef OP12_TEX
222 #undef OP14_TEX
223
224 #undef OP12_SAMPLE
225 #undef OP13_SAMPLE
226 #undef OP14_SAMPLE
227 #undef OP15_SAMPLE