Home | History | Annotate | Download | only in tgsi
      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 OP00_LBL(ELSE)
    115 OP00(ENDIF)
    116 OP01(PUSHA)
    117 OP10(POPA)
    118 OP11(CEIL)
    119 OP11(I2F)
    120 OP11(NOT)
    121 OP11(TRUNC)
    122 OP12(SHL)
    123 OP12(AND)
    124 OP12(OR)
    125 OP12(MOD)
    126 OP12(XOR)
    127 OP13(SAD)
    128 OP12_TEX(TXF)
    129 OP12_TEX(TXQ)
    130 OP00(CONT)
    131 OP00(EMIT)
    132 OP00(ENDPRIM)
    133 OP00_LBL(BGNLOOP)
    134 OP00(BGNSUB)
    135 OP00_LBL(ENDLOOP)
    136 OP00(ENDSUB)
    137 OP00(NOP)
    138 OP11(NRM4)
    139 OP01(CALLNZ)
    140 OP01(IFC)
    141 OP01(BREAKC)
    142 OP01(KIL)
    143 OP00(END)
    144 OP11(F2I)
    145 OP12(IDIV)
    146 OP12(IMAX)
    147 OP12(IMIN)
    148 OP11(INEG)
    149 OP12(ISGE)
    150 OP12(ISHR)
    151 OP12(ISLT)
    152 OP11(F2U)
    153 OP11(U2F)
    154 OP12(UADD)
    155 OP12(UDIV)
    156 OP13(UMAD)
    157 OP12(UMAX)
    158 OP12(UMIN)
    159 OP12(UMOD)
    160 OP12(UMUL)
    161 OP12(USEQ)
    162 OP12(USGE)
    163 OP12(USHR)
    164 OP12(USLT)
    165 OP12(USNE)
    166 OP01(SWITCH)
    167 OP01(CASE)
    168 OP00(DEFAULT)
    169 OP00(ENDSWITCH)
    170 
    171 OP13(SAMPLE)
    172 OP12(SAMPLE_I)
    173 OP12(SAMPLE_I_MS)
    174 OP14(SAMPLE_B)
    175 OP14(SAMPLE_C)
    176 OP14(SAMPLE_C_LZ)
    177 OP15(SAMPLE_D)
    178 OP13(SAMPLE_L)
    179 OP13(GATHER4)
    180 OP12(SVIEWINFO)
    181 OP13(SAMPLE_POS)
    182 OP12(SAMPLE_INFO)
    183 
    184 
    185 #undef OP00
    186 #undef OP01
    187 #undef OP10
    188 #undef OP11
    189 #undef OP12
    190 #undef OP13
    191 
    192 #ifdef OP14
    193 #undef OP14
    194 #endif
    195 
    196 #ifdef OP15
    197 #undef OP15
    198 #endif
    199 
    200 #undef OP00_LBL
    201 #undef OP01_LBL
    202 
    203 #undef OP12_TEX
    204 #undef OP14_TEX
    205 
    206