gallium: Add UMOD TGSI opcode.
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_opcode_tmp.h
1 /**************************************************************************
2 *
3 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
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 TUNGSTEN GRAPHICS 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 OP00_LBL
36 #define OP00_LBL(a) OP00(a)
37 #endif
38
39 #ifndef OP01_LBL
40 #define OP01_LBL(a) OP01(a)
41 #endif
42
43 OP11(ARL)
44 OP11(MOV)
45 OP11(LIT)
46 OP11(RCP)
47 OP11(RSQ)
48 OP11(EXP)
49 OP11(LOG)
50 OP12(MUL)
51 OP12(ADD)
52 OP12(DP3)
53 OP12(DP4)
54 OP12(DST)
55 OP12(MIN)
56 OP12(MAX)
57 OP12(SLT)
58 OP12(SGE)
59 OP13(MAD)
60 OP12(SUB)
61 OP13(LRP)
62 OP13(CND)
63 OP13(DP2A)
64 OP11(FRC)
65 OP13(CLAMP)
66 OP11(FLR)
67 OP11(ROUND)
68 OP11(EX2)
69 OP11(LG2)
70 OP12(POW)
71 OP12(XPD)
72 OP11(ABS)
73 OP11(RCC)
74 OP12(DPH)
75 OP11(COS)
76 OP11(DDX)
77 OP11(DDY)
78 OP00(KILP)
79 OP11(PK2H)
80 OP11(PK2US)
81 OP11(PK4B)
82 OP11(PK4UB)
83 OP12(RFL)
84 OP12(SEQ)
85 OP12(SFL)
86 OP12(SGT)
87 OP11(SIN)
88 OP12(SLE)
89 OP12(SNE)
90 OP12(STR)
91 OP12_TEX(TEX)
92 OP14_TEX(TXD)
93 OP12_TEX(TXP)
94 OP11(UP2H)
95 OP11(UP2US)
96 OP11(UP4B)
97 OP11(UP4UB)
98 OP13(X2D)
99 OP11(ARA)
100 OP11(ARR)
101 OP01(BRA)
102 OP00_LBL(CAL)
103 OP00(RET)
104 OP11(SSG)
105 OP13(CMP)
106 OP11(SCS)
107 OP12_TEX(TXB)
108 OP11(NRM)
109 OP12(DIV)
110 OP12(DP2)
111 OP12_TEX(TXL)
112 OP00(BRK)
113 OP01_LBL(IF)
114 OP11(BGNFOR)
115 OP01(REP)
116 OP00_LBL(ELSE)
117 OP00(ENDIF)
118 OP10(ENDFOR)
119 OP00(ENDREP)
120 OP01(PUSHA)
121 OP10(POPA)
122 OP11(CEIL)
123 OP11(I2F)
124 OP11(NOT)
125 OP11(TRUNC)
126 OP12(SHL)
127 OP12(AND)
128 OP12(OR)
129 OP12(MOD)
130 OP12(XOR)
131 OP13(SAD)
132 OP12_TEX(TXF)
133 OP12_TEX(TXQ)
134 OP00(CONT)
135 OP00(EMIT)
136 OP00(ENDPRIM)
137 OP00_LBL(BGNLOOP)
138 OP00(BGNSUB)
139 OP00_LBL(ENDLOOP)
140 OP00(ENDSUB)
141 OP00(NOP)
142 OP11(NRM4)
143 OP01(CALLNZ)
144 OP01(IFC)
145 OP01(BREAKC)
146 OP01(KIL)
147 OP00(END)
148 OP11(F2I)
149 OP12(IDIV)
150 OP12(IMAX)
151 OP12(IMIN)
152 OP11(INEG)
153 OP12(ISGE)
154 OP12(ISHR)
155 OP12(ISLT)
156 OP11(F2U)
157 OP11(U2F)
158 OP12(UADD)
159 OP12(UDIV)
160 OP13(UMAD)
161 OP12(UMAX)
162 OP12(UMIN)
163 OP12(UMOD)
164 OP12(UMUL)
165 OP12(USEQ)
166 OP12(USGE)
167 OP12(USHR)
168 OP12(USLT)
169 OP12(USNE)
170
171
172 #undef OP00
173 #undef OP01
174 #undef OP10
175 #undef OP11
176 #undef OP12
177 #undef OP13
178
179 #ifdef OP14
180 #undef OP14
181 #endif
182
183 #undef OP00_LBL
184 #undef OP01_LBL
185
186 #undef OP12_TEX
187 #undef OP14_TEX
188