Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
[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(SHR)
128 OP12(AND)
129 OP12(OR)
130 OP12(MOD)
131 OP12(XOR)
132 OP13(SAD)
133 OP12_TEX(TXF)
134 OP12_TEX(TXQ)
135 OP00(CONT)
136 OP00(EMIT)
137 OP00(ENDPRIM)
138 OP00_LBL(BGNLOOP)
139 OP00(BGNSUB)
140 OP00_LBL(ENDLOOP)
141 OP00(ENDSUB)
142 OP11(NOISE1)
143 OP11(NOISE2)
144 OP11(NOISE3)
145 OP11(NOISE4)
146 OP00(NOP)
147 OP11(NRM4)
148 OP01(CALLNZ)
149 OP01(IFC)
150 OP01(BREAKC)
151 OP01(KIL)
152 OP00(END)
153 OP11(SWZ)
154
155
156 #undef OP00
157 #undef OP01
158 #undef OP10
159 #undef OP11
160 #undef OP12
161 #undef OP13
162
163 #ifdef OP14
164 #undef OP14
165 #endif
166
167 #undef OP00_LBL
168 #undef OP01_LBL
169
170 #undef OP12_TEX
171 #undef OP14_TEX
172