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