2ade618db00492257d9a3383960d45f32ec5b143
[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 OP11(FRC)
60 OP12_TEX(TXF_LZ)
61 OP11(FLR)
62 OP11(ROUND)
63 OP11(EX2)
64 OP11(LG2)
65 OP12(POW)
66 OP11(COS)
67 OP11(DDX)
68 OP11(DDY)
69 OP11(DDX_FINE)
70 OP11(DDY_FINE)
71 OP00(KILL)
72 OP11(PK2H)
73 OP11(PK2US)
74 OP11(PK4B)
75 OP11(PK4UB)
76 OP12(SEQ)
77 OP12(SGT)
78 OP11(SIN)
79 OP12(SLE)
80 OP12(SNE)
81 OP12_TEX(TEX)
82 OP14_TEX(TXD)
83 OP12_TEX(TXP)
84 OP11(UP2H)
85 OP11(UP2US)
86 OP11(UP4B)
87 OP11(UP4UB)
88 OP11(ARR)
89 OP00_LBL(CAL)
90 OP00(RET)
91 OP11(SSG)
92 OP13(CMP)
93 OP12_TEX(TXB)
94 OP12(DIV)
95 OP12(DP2)
96 OP12_TEX(TXL)
97 OP00(BRK)
98 OP01_LBL(IF)
99 OP01_LBL(UIF)
100 OP00_LBL(ELSE)
101 OP00(ENDIF)
102 OP11(CEIL)
103 OP11(I2F)
104 OP11(NOT)
105 OP11(TRUNC)
106 OP12(SHL)
107 OP12(AND)
108 OP12(OR)
109 OP12(MOD)
110 OP12(XOR)
111 OP12_TEX(TXF)
112 OP12_TEX(TXQ)
113 OP00(CONT)
114 OP01(EMIT)
115 OP01(ENDPRIM)
116 OP00_LBL(BGNLOOP)
117 OP00(BGNSUB)
118 OP00_LBL(ENDLOOP)
119 OP00(ENDSUB)
120 OP00(NOP)
121 OP01(KILL_IF)
122 OP00(END)
123 OP11(F2I)
124 OP12(FSEQ)
125 OP12(FSGE)
126 OP12(FSLT)
127 OP12(FSNE)
128 OP12(IDIV)
129 OP12(IMAX)
130 OP12(IMIN)
131 OP11(INEG)
132 OP12(ISGE)
133 OP12(ISHR)
134 OP12(ISLT)
135 OP11(F2U)
136 OP11(U2F)
137 OP12(UADD)
138 OP12(UDIV)
139 OP13(UMAD)
140 OP12(UMAX)
141 OP12(UMIN)
142 OP12(UMOD)
143 OP12(UMUL)
144 OP12(USEQ)
145 OP12(USGE)
146 OP12(USHR)
147 OP12(USLT)
148 OP12(USNE)
149 OP01(SWITCH)
150 OP01(CASE)
151 OP00(DEFAULT)
152 OP00(ENDSWITCH)
153
154 OP12(SVIEWINFO)
155 OP13(SAMPLE_POS)
156 OP12(SAMPLE_INFO)
157 OP11(UARL)
158
159 OP13(UCMP)
160 OP11(IABS)
161 OP11(ISSG)
162
163 OP11(IMG2HND)
164 OP11(SAMP2HND)
165
166 OP12(IMUL_HI)
167 OP12(UMUL_HI)
168 OP13(UBFE)
169 OP11(F2D)
170 OP11(D2F)
171 OP11(U2D)
172 OP11(D2U)
173 OP12(DMUL)
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