xref: /aosp_15_r20/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
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(DRCP)
44 OP11(RSQ)
45 OP11(DRSQ)
46 OP11(EXP)
47 OP11(LOG)
48 OP12(MUL)
49 OP12(ADD)
50 OP12(DADD)
51 OP12(DP3)
52 OP12(DP4)
53 OP12(DST)
54 OP12(MIN)
55 OP12(MAX)
56 OP12(SLT)
57 OP12(SGE)
58 OP13(MAD)
59 OP13(DMAD)
60 OP12_TEX(TEX_LZ)
61 OP13(LRP)
62 OP11(SQRT)
63 OP11(DSQRT)
64 OP11(FRC)
65 OP12_TEX(TXF_LZ)
66 OP11(FLR)
67 OP11(ROUND)
68 OP11(EX2)
69 OP11(LG2)
70 OP12(POW)
71 OP11(COS)
72 OP11(DDX)
73 OP11(DDY)
74 OP11(DDX_FINE)
75 OP11(DDY_FINE)
76 OP00(DEMOTE)
77 OP00(KILL)
78 OP10(READ_HELPER)
79 OP11(VOTE_ALL)
80 OP11(VOTE_ANY)
81 OP11(VOTE_EQ)
82 OP11(BALLOT)
83 OP11(READ_FIRST)
84 OP12(READ_INVOC)
85 OP11(PK2H)
86 OP11(PK2US)
87 OP11(PK4B)
88 OP11(PK4UB)
89 OP12(SEQ)
90 OP12(SGT)
91 OP11(SIN)
92 OP12(SLE)
93 OP12(SNE)
94 OP12_TEX(TEX)
95 OP14_TEX(TXD)
96 OP12_TEX(TXP)
97 OP11(UP2H)
98 OP11(UP2US)
99 OP11(UP4B)
100 OP11(UP4UB)
101 OP11(ARR)
102 OP00_LBL(CAL)
103 OP00(RET)
104 OP11(SSG)
105 OP13(CMP)
106 OP12_TEX(TXB)
107 OP12(DIV)
108 OP12(DP2)
109 OP12_TEX(TXL)
110 OP00(BRK)
111 OP01_LBL(IF)
112 OP01_LBL(UIF)
113 OP00_LBL(ELSE)
114 OP00(ENDIF)
115 OP11(CEIL)
116 OP11(DCEIL)
117 OP11(I2F)
118 OP11(NOT)
119 OP11(TRUNC)
120 OP12(SHL)
121 OP12(AND)
122 OP12(OR)
123 OP12(MOD)
124 OP12(XOR)
125 OP12_TEX(TXF)
126 OP12_TEX(TXQ)
127 OP00(CONT)
128 OP01(EMIT)
129 OP01(ENDPRIM)
130 OP00(BARRIER)
131 OP01(MEMBAR)
132 OP00_LBL(BGNLOOP)
133 OP00(BGNSUB)
134 OP00_LBL(ENDLOOP)
135 OP00(ENDSUB)
136 OP00(NOP)
137 OP01(KILL_IF)
138 OP00(END)
139 OP11(F2I)
140 OP12(FSEQ)
141 OP12(FSGE)
142 OP12(FSLT)
143 OP12(FSNE)
144 OP12(DSEQ)
145 OP12(DSGE)
146 OP12(DSLT)
147 OP12(DSNE)
148 OP12(IDIV)
149 OP12(IMAX)
150 OP12(IMIN)
151 OP11(INEG)
152 OP12(ISGE)
153 OP12(ISHR)
154 OP12(ISLT)
155 OP11(F2U)
156 OP11(U2F)
157 OP12(UADD)
158 OP12(UDIV)
159 OP13(UMAD)
160 OP12(UMAX)
161 OP12(UMIN)
162 OP12(UMOD)
163 OP12(UMUL)
164 OP12(USEQ)
165 OP12(USGE)
166 OP12(USHR)
167 OP12(USLT)
168 OP12(USNE)
169 OP12(I64SLT)
170 OP12(I64SGE)
171 OP12(U64SEQ)
172 OP12(U64SLT)
173 OP12(U64SGE)
174 OP12(U64SNE)
175 OP01(SWITCH)
176 OP01(CASE)
177 OP00(DEFAULT)
178 OP00(ENDSWITCH)
179 
180 OP12(SVIEWINFO)
181 OP13(SAMPLE_POS)
182 OP12(SAMPLE_INFO)
183 OP11(UARL)
184 
185 OP13(UCMP)
186 OP11(IABS)
187 OP11(ISSG)
188 
189 OP11(IMG2HND)
190 OP11(SAMP2HND)
191 
192 OP12(IMUL_HI)
193 OP12(UMUL_HI)
194 OP13(IBFE)
195 OP13(UBFE)
196 OP14(BFI)
197 OP11(BREV)
198 OP11(POPC)
199 OP11(IMSB)
200 OP11(UMSB)
201 OP11(LSB)
202 OP12(LDEXP)
203 OP12(DLDEXP)
204 
205 OP11(F2D)
206 OP11(D2F)
207 OP11(U2D)
208 OP11(D2U)
209 OP12(DMUL)
210 
211 OP11(INTERP_CENTROID)
212 OP12(INTERP_SAMPLE)
213 OP12(INTERP_OFFSET)
214 
215 OP11(FBFETCH)
216 
217 OP10(CLOCK)
218 
219 #undef OP00
220 #undef OP01
221 #undef OP10
222 #undef OP11
223 #undef OP12
224 #undef OP13
225 #undef OP14
226 
227 #undef OP00_LBL
228 #undef OP01_LBL
229 
230 #undef OP12_TEX
231 #undef OP14_TEX
232