Path: blob/21.2-virgl/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
4565 views
/**************************************************************************1*2* Copyright 2008 VMware, Inc.3* All Rights Reserved.4*5* Permission is hereby granted, free of charge, to any person obtaining a6* copy of this software and associated documentation files (the7* "Software"), to deal in the Software without restriction, including8* without limitation the rights to use, copy, modify, merge, publish,9* distribute, sub license, and/or sell copies of the Software, and to10* permit persons to whom the Software is furnished to do so, subject to11* the following conditions:12*13* The above copyright notice and this permission notice (including the14* next paragraph) shall be included in all copies or substantial portions15* of the Software.16*17* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS18* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF19* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.20* IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR21* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,22* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE23* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.24*25**************************************************************************/26#ifndef OP12_TEX27#define OP12_TEX(a) OP12(a)28#endif2930#ifndef OP00_LBL31#define OP00_LBL(a) OP00(a)32#endif3334#ifndef OP01_LBL35#define OP01_LBL(a) OP01(a)36#endif3738OP11(ARL)39OP11(MOV)40OP11(LIT)41OP11(RCP)42OP11(DRCP)43OP11(RSQ)44OP11(DRSQ)45OP11(EXP)46OP11(LOG)47OP12(MUL)48OP12(ADD)49OP12(DADD)50OP12(DP3)51OP12(DP4)52OP12(DST)53OP12(MIN)54OP12(MAX)55OP12(SLT)56OP12(SGE)57OP13(MAD)58OP13(DMAD)59OP12_TEX(TEX_LZ)60OP13(LRP)61OP11(SQRT)62OP11(DSQRT)63OP11(FRC)64OP12_TEX(TXF_LZ)65OP11(FLR)66OP11(ROUND)67OP11(EX2)68OP11(LG2)69OP12(POW)70OP11(COS)71OP11(DDX)72OP11(DDY)73OP11(DDX_FINE)74OP11(DDY_FINE)75OP00(KILL)76OP11(PK2H)77OP11(PK2US)78OP11(PK4B)79OP11(PK4UB)80OP12(SEQ)81OP12(SGT)82OP11(SIN)83OP12(SLE)84OP12(SNE)85OP12_TEX(TEX)86OP14_TEX(TXD)87OP12_TEX(TXP)88OP11(UP2H)89OP11(UP2US)90OP11(UP4B)91OP11(UP4UB)92OP11(ARR)93OP00_LBL(CAL)94OP00(RET)95OP11(SSG)96OP13(CMP)97OP12_TEX(TXB)98OP12(DIV)99OP12(DP2)100OP12_TEX(TXL)101OP00(BRK)102OP01_LBL(IF)103OP01_LBL(UIF)104OP00_LBL(ELSE)105OP00(ENDIF)106OP11(CEIL)107OP11(DCEIL)108OP11(I2F)109OP11(NOT)110OP11(TRUNC)111OP12(SHL)112OP12(AND)113OP12(OR)114OP12(MOD)115OP12(XOR)116OP12_TEX(TXF)117OP12_TEX(TXQ)118OP00(CONT)119OP01(EMIT)120OP01(ENDPRIM)121OP00(BARRIER)122OP01(MEMBAR)123OP00_LBL(BGNLOOP)124OP00(BGNSUB)125OP00_LBL(ENDLOOP)126OP00(ENDSUB)127OP00(NOP)128OP01(KILL_IF)129OP00(END)130OP11(F2I)131OP12(FSEQ)132OP12(FSGE)133OP12(FSLT)134OP12(FSNE)135OP12(DSEQ)136OP12(DSGE)137OP12(DSLT)138OP12(DSNE)139OP12(IDIV)140OP12(IMAX)141OP12(IMIN)142OP11(INEG)143OP12(ISGE)144OP12(ISHR)145OP12(ISLT)146OP11(F2U)147OP11(U2F)148OP12(UADD)149OP12(UDIV)150OP13(UMAD)151OP12(UMAX)152OP12(UMIN)153OP12(UMOD)154OP12(UMUL)155OP12(USEQ)156OP12(USGE)157OP12(USHR)158OP12(USLT)159OP12(USNE)160OP12(I64SLT)161OP12(I64SGE)162OP12(U64SEQ)163OP12(U64SLT)164OP12(U64SGE)165OP12(U64SNE)166OP01(SWITCH)167OP01(CASE)168OP00(DEFAULT)169OP00(ENDSWITCH)170171OP12(SVIEWINFO)172OP13(SAMPLE_POS)173OP12(SAMPLE_INFO)174OP11(UARL)175176OP13(UCMP)177OP11(IABS)178OP11(ISSG)179180OP11(IMG2HND)181OP11(SAMP2HND)182183OP12(IMUL_HI)184OP12(UMUL_HI)185OP13(IBFE)186OP13(UBFE)187OP14(BFI)188OP11(BREV)189OP11(POPC)190OP11(IMSB)191OP11(UMSB)192OP11(LSB)193OP12(LDEXP)194OP12(DLDEXP)195196OP11(F2D)197OP11(D2F)198OP11(U2D)199OP11(D2U)200OP12(DMUL)201202OP11(INTERP_CENTROID)203OP12(INTERP_SAMPLE)204OP12(INTERP_OFFSET)205206#undef OP00207#undef OP01208#undef OP10209#undef OP11210#undef OP12211#undef OP13212213#undef OP00_LBL214#undef OP01_LBL215216#undef OP12_TEX217#undef OP14_TEX218219220