gallium/ureg: add TEX/TXF_LZ opcodes to ureg
[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 OP00_LBL
32 #define OP00_LBL(a) OP00(a)
33 #endif
34
35 #ifndef OP01_LBL
36 #define OP01_LBL(a) OP01(a)
37 #endif
38
39 OP11(ARL)
40 OP11(MOV)
41 OP11(LIT)
42 OP11(RCP)
43 OP11(RSQ)
44 OP11(EXP)
45 OP11(LOG)
46 OP12(MUL)
47 OP12(ADD)
48 OP12(DP3)
49 OP12(DP4)
50 OP12(DST)
51 OP12(MIN)
52 OP12(MAX)
53 OP12(SLT)
54 OP12(SGE)
55 OP13(MAD)
56 OP12_TEX(TEX_LZ)
57 OP13(LRP)
58 OP11(SQRT)
59 OP13(DP2A)
60 OP11(FRC)
61 OP12_TEX(TXF_LZ)
62 OP11(FLR)
63 OP11(ROUND)
64 OP11(EX2)
65 OP11(LG2)
66 OP12(POW)
67 OP12(XPD)
68 OP12(DPH)
69 OP11(COS)
70 OP11(DDX)
71 OP11(DDY)
72 OP11(DDX_FINE)
73 OP11(DDY_FINE)
74 OP00(KILL)
75 OP11(PK2H)
76 OP11(PK2US)
77 OP11(PK4B)
78 OP11(PK4UB)
79 OP12(SEQ)
80 OP12(SGT)
81 OP11(SIN)
82 OP12(SLE)
83 OP12(SNE)
84 OP12_TEX(TEX)
85 OP14_TEX(TXD)
86 OP12_TEX(TXP)
87 OP11(UP2H)
88 OP11(UP2US)
89 OP11(UP4B)
90 OP11(UP4UB)
91 OP11(ARR)
92 OP00_LBL(CAL)
93 OP00(RET)
94 OP11(SSG)
95 OP13(CMP)
96 OP11(SCS)
97 OP12_TEX(TXB)
98 OP12(DIV)
99 OP12(DP2)
100 OP12_TEX(TXL)
101 OP00(BRK)
102 OP01_LBL(IF)
103 OP01_LBL(UIF)
104 OP00_LBL(ELSE)
105 OP00(ENDIF)
106 OP01(PUSHA)
107 OP10(POPA)
108 OP11(CEIL)
109 OP11(I2F)
110 OP11(NOT)
111 OP11(TRUNC)
112 OP12(SHL)
113 OP12(AND)
114 OP12(OR)
115 OP12(MOD)
116 OP12(XOR)
117 OP13(SAD)
118 OP12_TEX(TXF)
119 OP12_TEX(TXQ)
120 OP00(CONT)
121 OP01(EMIT)
122 OP01(ENDPRIM)
123 OP00_LBL(BGNLOOP)
124 OP00(BGNSUB)
125 OP00_LBL(ENDLOOP)
126 OP00(ENDSUB)
127 OP00(NOP)
128 OP01(CALLNZ)
129 OP01(BREAKC)
130 OP01(KILL_IF)
131 OP00(END)
132 OP11(F2I)
133 OP12(FSEQ)
134 OP12(FSGE)
135 OP12(FSLT)
136 OP12(FSNE)
137 OP12(IDIV)
138 OP12(IMAX)
139 OP12(IMIN)
140 OP11(INEG)
141 OP12(ISGE)
142 OP12(ISHR)
143 OP12(ISLT)
144 OP11(F2U)
145 OP11(U2F)
146 OP12(UADD)
147 OP12(UDIV)
148 OP13(UMAD)
149 OP12(UMAX)
150 OP12(UMIN)
151 OP12(UMOD)
152 OP12(UMUL)
153 OP12(USEQ)
154 OP12(USGE)
155 OP12(USHR)
156 OP12(USLT)
157 OP12(USNE)
158 OP01(SWITCH)
159 OP01(CASE)
160 OP00(DEFAULT)
161 OP00(ENDSWITCH)
162
163 OP12(SVIEWINFO)
164 OP13(SAMPLE_POS)
165 OP12(SAMPLE_INFO)
166 OP11(UARL)
167
168 OP13(UCMP)
169 OP11(IABS)
170 OP11(ISSG)
171
172 OP12(IMUL_HI)
173 OP12(UMUL_HI)
174
175 #undef OP00
176 #undef OP01
177 #undef OP10
178 #undef OP11
179 #undef OP12
180 #undef OP13
181
182 #undef OP00_LBL
183 #undef OP01_LBL
184
185 #undef OP12_TEX
186 #undef OP14_TEX