gallium: Drop the NRM and NRM4 opcodes.
[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 OP12(DIV)
126 OP12(DP2)
127 OP12_TEX(TXL)
128 OP00(BRK)
129 OP01_LBL(IF)
130 OP01_LBL(UIF)
131 OP00_LBL(ELSE)
132 OP00(ENDIF)
133 OP01(PUSHA)
134 OP10(POPA)
135 OP11(CEIL)
136 OP11(I2F)
137 OP11(NOT)
138 OP11(TRUNC)
139 OP12(SHL)
140 OP12(AND)
141 OP12(OR)
142 OP12(MOD)
143 OP12(XOR)
144 OP13(SAD)
145 OP12_TEX(TXF)
146 OP12_TEX(TXQ)
147 OP00(CONT)
148 OP01(EMIT)
149 OP01(ENDPRIM)
150 OP00_LBL(BGNLOOP)
151 OP00(BGNSUB)
152 OP00_LBL(ENDLOOP)
153 OP00(ENDSUB)
154 OP00(NOP)
155 OP01(CALLNZ)
156 OP01(BREAKC)
157 OP01(KILL_IF)
158 OP00(END)
159 OP11(F2I)
160 OP12(FSEQ)
161 OP12(FSGE)
162 OP12(FSLT)
163 OP12(FSNE)
164 OP12(IDIV)
165 OP12(IMAX)
166 OP12(IMIN)
167 OP11(INEG)
168 OP12(ISGE)
169 OP12(ISHR)
170 OP12(ISLT)
171 OP11(F2U)
172 OP11(U2F)
173 OP12(UADD)
174 OP12(UDIV)
175 OP13(UMAD)
176 OP12(UMAX)
177 OP12(UMIN)
178 OP12(UMOD)
179 OP12(UMUL)
180 OP12(USEQ)
181 OP12(USGE)
182 OP12(USHR)
183 OP12(USLT)
184 OP12(USNE)
185 OP01(SWITCH)
186 OP01(CASE)
187 OP00(DEFAULT)
188 OP00(ENDSWITCH)
189
190 OP13_SAMPLE(SAMPLE)
191 OP12_SAMPLE(SAMPLE_I)
192 OP13_SAMPLE(SAMPLE_I_MS)
193 OP14_SAMPLE(SAMPLE_B)
194 OP14_SAMPLE(SAMPLE_C)
195 OP14_SAMPLE(SAMPLE_C_LZ)
196 OP15_SAMPLE(SAMPLE_D)
197 OP14_SAMPLE(SAMPLE_L)
198 OP13_SAMPLE(GATHER4)
199 OP12(SVIEWINFO)
200 OP13(SAMPLE_POS)
201 OP12(SAMPLE_INFO)
202 OP11(UARL)
203
204 OP13(UCMP)
205
206 OP12(IMUL_HI)
207 OP12(UMUL_HI)
208
209 #undef OP00
210 #undef OP01
211 #undef OP10
212 #undef OP11
213 #undef OP12
214 #undef OP13
215
216 #ifdef OP14
217 #undef OP14
218 #endif
219
220 #ifdef OP15
221 #undef OP15
222 #endif
223
224 #undef OP00_LBL
225 #undef OP01_LBL
226
227 #undef OP12_TEX
228 #undef OP14_TEX
229
230 #undef OP12_SAMPLE
231 #undef OP13_SAMPLE
232 #undef OP14_SAMPLE
233 #undef OP15_SAMPLE