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