Merge branch 'mesa_7_5_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(CND0)
64 OP13(DP2A)
65 OP11(FRC)
66 OP13(CLAMP)
67 OP11(FLR)
68 OP11(ROUND)
69 OP11(EX2)
70 OP11(LG2)
71 OP12(POW)
72 OP12(XPD)
73 OP11(ABS)
74 OP11(RCC)
75 OP12(DPH)
76 OP11(COS)
77 OP11(DDX)
78 OP11(DDY)
79 OP00(KILP)
80 OP11(PK2H)
81 OP11(PK2US)
82 OP11(PK4B)
83 OP11(PK4UB)
84 OP12(RFL)
85 OP12(SEQ)
86 OP12(SFL)
87 OP12(SGT)
88 OP11(SIN)
89 OP12(SLE)
90 OP12(SNE)
91 OP12(STR)
92 OP12_TEX(TEX)
93 OP14_TEX(TXD)
94 OP12_TEX(TXP)
95 OP11(UP2H)
96 OP11(UP2US)
97 OP11(UP4B)
98 OP11(UP4UB)
99 OP13(X2D)
100 OP11(ARA)
101 OP11(ARR)
102 OP01(BRA)
103 OP00_LBL(CAL)
104 OP00(RET)
105 OP11(SSG)
106 OP13(CMP)
107 OP11(SCS)
108 OP12_TEX(TXB)
109 OP11(NRM)
110 OP12(DIV)
111 OP12(DP2)
112 OP12_TEX(TXL)
113 OP00(BRK)
114 OP01_LBL(IF)
115 OP11(BGNFOR)
116 OP01(REP)
117 OP00_LBL(ELSE)
118 OP00(ENDIF)
119 OP10(ENDFOR)
120 OP00(ENDREP)
121 OP01(PUSHA)
122 OP10(POPA)
123 OP11(CEIL)
124 OP11(I2F)
125 OP11(NOT)
126 OP11(TRUNC)
127 OP12(SHL)
128 OP12(SHR)
129 OP12(AND)
130 OP12(OR)
131 OP12(MOD)
132 OP12(XOR)
133 OP13(SAD)
134 OP12_TEX(TXF)
135 OP12_TEX(TXQ)
136 OP00(CONT)
137 OP00(EMIT)
138 OP00(ENDPRIM)
139 OP00_LBL(BGNLOOP)
140 OP00(BGNSUB)
141 OP00_LBL(ENDLOOP)
142 OP00(ENDSUB)
143 OP11(NOISE1)
144 OP11(NOISE2)
145 OP11(NOISE3)
146 OP11(NOISE4)
147 OP00(NOP)
148 OP11(NRM4)
149 OP01(CALLNZ)
150 OP01(IFC)
151 OP01(BREAKC)
152 OP01(KIL)
153 OP00(END)
154 OP11(SWZ)
155
156
157 #undef OP00
158 #undef OP01
159 #undef OP10
160 #undef OP11
161 #undef OP12
162 #undef OP13
163
164 #ifdef OP14
165 #undef OP14
166 #endif
167
168 #undef OP00_LBL
169 #undef OP01_LBL
170
171 #undef OP12_TEX
172 #undef OP14_TEX
173