1OPCODE(1, 1, COMP, ARL) 2OPCODE(1, 1, COMP, MOV) 3OPCODE(1, 1, CHAN, LIT) 4OPCODE(1, 1, REPL, RCP) 5OPCODE(1, 1, REPL, RSQ) 6OPCODE(1, 1, CHAN, EXP) 7OPCODE(1, 1, CHAN, LOG) 8OPCODE(1, 2, COMP, MUL) 9OPCODE(1, 2, COMP, ADD) 10OPCODE(1, 2, REPL, DP3) 11OPCODE(1, 2, REPL, DP4) 12OPCODE(1, 2, CHAN, DST) 13OPCODE(1, 2, COMP, MIN) 14OPCODE(1, 2, COMP, MAX) 15OPCODE(1, 2, COMP, SLT) 16OPCODE(1, 2, COMP, SGE) 17OPCODE(1, 3, COMP, MAD) 18OPCODE(1, 2, OTHR, TEX_LZ, .is_tex = 1) 19OPCODE(1, 3, COMP, LRP) 20OPCODE(1, 3, COMP, FMA) 21OPCODE(1, 1, REPL, SQRT) 22OPCODE(1, 2, COMP, LDEXP) 23OPCODE(1, 1, COMP, F2U64) 24OPCODE(1, 1, COMP, F2I64) 25OPCODE(1, 1, COMP, FRC) 26OPCODE(1, 2, OTHR, TXF_LZ, .is_tex = 1) 27OPCODE(1, 1, COMP, FLR) 28OPCODE(1, 1, COMP, ROUND) 29OPCODE(1, 1, REPL, EX2) 30OPCODE(1, 1, REPL, LG2) 31OPCODE(1, 2, REPL, POW) 32OPCODE(0, 0, NONE, DEMOTE) 33OPCODE(1, 1, COMP, U2I64) 34OPCODE(1, 0, OTHR, CLOCK) 35OPCODE(1, 1, COMP, I2I64) 36OPCODE(1, 0, COMP, READ_HELPER) 37OPCODE(1, 1, REPL, COS) 38OPCODE(1, 1, COMP, DDX) 39OPCODE(1, 1, COMP, DDY) 40OPCODE(0, 0, NONE, KILL) 41OPCODE(1, 1, REPL, PK2H) 42OPCODE(1, 1, REPL, PK2US) 43OPCODE(1, 1, REPL, PK4B) 44OPCODE(1, 1, REPL, PK4UB) 45OPCODE(1, 1, COMP, D2U64) 46OPCODE(1, 2, COMP, SEQ) 47OPCODE(1, 1, COMP, D2I64) 48OPCODE(1, 2, COMP, SGT) 49OPCODE(1, 1, REPL, SIN) 50OPCODE(1, 2, COMP, SLE) 51OPCODE(1, 2, COMP, SNE) 52OPCODE(1, 1, COMP, U642D) 53OPCODE(1, 2, OTHR, TEX, .is_tex = 1) 54OPCODE(1, 4, OTHR, TXD, .is_tex = 1) 55OPCODE(1, 2, OTHR, TXP, .is_tex = 1) 56OPCODE(1, 1, CHAN, UP2H) 57OPCODE(1, 1, CHAN, UP2US) 58OPCODE(1, 1, CHAN, UP4B) 59OPCODE(1, 1, CHAN, UP4UB) 60OPCODE(1, 1, COMP, U642F) 61OPCODE(1, 1, COMP, I642F) 62OPCODE(1, 1, COMP, ARR) 63OPCODE(1, 1, COMP, I642D) 64OPCODE(0, 0, NONE, CAL, .is_branch = 1) 65OPCODE(0, 0, NONE, RET) 66OPCODE(1, 1, COMP, SSG) 67OPCODE(1, 3, COMP, CMP) 68OPCODE_GAP(67) /* removed */ 69OPCODE(1, 2, OTHR, TXB, .is_tex = 1) 70OPCODE(1, 1, OTHR, FBFETCH) 71OPCODE(1, 2, COMP, DIV) 72OPCODE(1, 2, REPL, DP2) 73OPCODE(1, 2, OTHR, TXL, .is_tex = 1) 74OPCODE(0, 0, NONE, BRK) 75OPCODE(0, 1, NONE, IF, .is_branch = 1, .post_indent = 1) 76OPCODE(0, 1, NONE, UIF, .is_branch = 1, .post_indent = 1) 77OPCODE(1, 2, COMP, READ_INVOC) 78OPCODE(0, 0, NONE, ELSE, .is_branch = 1, .pre_dedent = 1, .post_indent = 1) 79OPCODE(0, 0, NONE, ENDIF, .pre_dedent = 1) 80OPCODE(1, 1, COMP, DDX_FINE) 81OPCODE(1, 1, COMP, DDY_FINE) 82OPCODE_GAP(81) /* removed */ 83OPCODE_GAP(82) /* removed */ 84OPCODE(1, 1, COMP, CEIL) 85OPCODE(1, 1, COMP, I2F) 86OPCODE(1, 1, COMP, NOT) 87OPCODE(1, 1, COMP, TRUNC) 88OPCODE(1, 2, COMP, SHL) 89OPCODE(1, 1, OTHR, BALLOT) 90OPCODE(1, 2, COMP, AND) 91OPCODE(1, 2, COMP, OR) 92OPCODE(1, 2, COMP, MOD) 93OPCODE(1, 2, COMP, XOR) 94OPCODE_GAP(93) /* removed */ 95OPCODE(1, 2, OTHR, TXF, .is_tex = 1) 96OPCODE(1, 2, OTHR, TXQ, .is_tex = 1) 97OPCODE(0, 0, NONE, CONT) 98OPCODE(0, 1, NONE, EMIT) 99OPCODE(0, 1, NONE, ENDPRIM) 100OPCODE(0, 0, NONE, BGNLOOP, .is_branch = 1, .post_indent = 1) 101OPCODE(0, 0, NONE, BGNSUB, .post_indent = 1) 102OPCODE(0, 0, NONE, ENDLOOP, .is_branch = 1, .pre_dedent = 1) 103OPCODE(0, 0, NONE, ENDSUB, .pre_dedent = 1) 104OPCODE(1, 3, OTHR, ATOMFADD, .is_store = 1) 105OPCODE(1, 1, OTHR, TXQS, .is_tex = 1) 106OPCODE(1, 1, OTHR, RESQ) 107OPCODE(1, 1, COMP, READ_FIRST) 108OPCODE(0, 0, NONE, NOP) 109OPCODE(1, 2, COMP, FSEQ) 110OPCODE(1, 2, COMP, FSGE) 111OPCODE(1, 2, COMP, FSLT) 112OPCODE(1, 2, COMP, FSNE) 113OPCODE(0, 1, OTHR, MEMBAR) 114OPCODE_GAP(113) /* removed */ 115OPCODE_GAP(114) /* removed */ 116OPCODE_GAP(115) /* removed */ 117OPCODE(0, 1, NONE, KILL_IF) 118OPCODE(0, 0, NONE, END) 119OPCODE(1, 3, COMP, DFMA) 120OPCODE(1, 1, COMP, F2I) 121OPCODE(1, 2, COMP, IDIV) 122OPCODE(1, 2, COMP, IMAX) 123OPCODE(1, 2, COMP, IMIN) 124OPCODE(1, 1, COMP, INEG) 125OPCODE(1, 2, COMP, ISGE) 126OPCODE(1, 2, COMP, ISHR) 127OPCODE(1, 2, COMP, ISLT) 128OPCODE(1, 1, COMP, F2U) 129OPCODE(1, 1, COMP, U2F) 130OPCODE(1, 2, COMP, UADD) 131OPCODE(1, 2, COMP, UDIV) 132OPCODE(1, 3, COMP, UMAD) 133OPCODE(1, 2, COMP, UMAX) 134OPCODE(1, 2, COMP, UMIN) 135OPCODE(1, 2, COMP, UMOD) 136OPCODE(1, 2, COMP, UMUL) 137OPCODE(1, 2, COMP, USEQ) 138OPCODE(1, 2, COMP, USGE) 139OPCODE(1, 2, COMP, USHR) 140OPCODE(1, 2, COMP, USLT) 141OPCODE(1, 2, COMP, USNE) 142OPCODE(0, 1, NONE, SWITCH) 143OPCODE(0, 1, NONE, CASE) 144OPCODE(0, 0, NONE, DEFAULT) 145OPCODE(0, 0, NONE, ENDSWITCH) 146 147OPCODE(1, 3, OTHR, SAMPLE) 148OPCODE(1, 2, OTHR, SAMPLE_I) 149OPCODE(1, 3, OTHR, SAMPLE_I_MS) 150OPCODE(1, 4, OTHR, SAMPLE_B) 151OPCODE(1, 4, OTHR, SAMPLE_C) 152OPCODE(1, 4, OTHR, SAMPLE_C_LZ) 153OPCODE(1, 5, OTHR, SAMPLE_D) 154OPCODE(1, 4, OTHR, SAMPLE_L) 155OPCODE(1, 3, OTHR, GATHER4) 156OPCODE(1, 2, OTHR, SVIEWINFO) 157OPCODE(1, 2, OTHR, SAMPLE_POS) 158OPCODE(1, 2, OTHR, SAMPLE_INFO) 159OPCODE(1, 1, COMP, UARL) 160OPCODE(1, 3, COMP, UCMP) 161OPCODE(1, 1, COMP, IABS) 162OPCODE(1, 1, COMP, ISSG) 163OPCODE(1, 2, OTHR, LOAD) 164OPCODE(1, 2, OTHR, STORE, .is_store = 1) 165OPCODE(1, 1, OTHR, IMG2HND) 166OPCODE(1, 1, OTHR, SAMP2HND, .is_tex = 1) 167OPCODE_GAP(165) /* removed */ 168OPCODE(0, 0, OTHR, BARRIER) 169 170OPCODE(1, 3, OTHR, ATOMUADD, .is_store = 1) 171OPCODE(1, 3, OTHR, ATOMXCHG, .is_store = 1) 172OPCODE(1, 4, OTHR, ATOMCAS, .is_store = 1) 173OPCODE(1, 3, OTHR, ATOMAND, .is_store = 1) 174OPCODE(1, 3, OTHR, ATOMOR, .is_store = 1) 175OPCODE(1, 3, OTHR, ATOMXOR, .is_store = 1) 176OPCODE(1, 3, OTHR, ATOMUMIN, .is_store = 1) 177OPCODE(1, 3, OTHR, ATOMUMAX, .is_store = 1) 178OPCODE(1, 3, OTHR, ATOMIMIN, .is_store = 1) 179OPCODE(1, 3, OTHR, ATOMIMAX, .is_store = 1) 180OPCODE(1, 3, OTHR, TEX2, .is_tex = 1) 181OPCODE(1, 3, OTHR, TXB2, .is_tex = 1) 182OPCODE(1, 3, OTHR, TXL2, .is_tex = 1) 183OPCODE(1, 2, COMP, IMUL_HI) 184OPCODE(1, 2, COMP, UMUL_HI) 185OPCODE(1, 3, OTHR, TG4, .is_tex = 1) 186OPCODE(1, 2, OTHR, LODQ, .is_tex = 1) 187OPCODE(1, 3, COMP, IBFE) 188OPCODE(1, 3, COMP, UBFE) 189OPCODE(1, 4, COMP, BFI) 190OPCODE(1, 1, COMP, BREV) 191OPCODE(1, 1, COMP, POPC) 192OPCODE(1, 1, COMP, LSB) 193OPCODE(1, 1, COMP, IMSB) 194OPCODE(1, 1, COMP, UMSB) 195OPCODE(1, 1, OTHR, INTERP_CENTROID) 196OPCODE(1, 2, OTHR, INTERP_SAMPLE) 197OPCODE(1, 2, OTHR, INTERP_OFFSET) 198OPCODE(1, 1, COMP, F2D) 199OPCODE(1, 1, COMP, D2F) 200OPCODE(1, 1, COMP, DABS) 201OPCODE(1, 1, COMP, DNEG) 202OPCODE(1, 2, COMP, DADD) 203OPCODE(1, 2, COMP, DMUL) 204OPCODE(1, 2, COMP, DMAX) 205OPCODE(1, 2, COMP, DMIN) 206OPCODE(1, 2, COMP, DSLT) 207OPCODE(1, 2, COMP, DSGE) 208OPCODE(1, 2, COMP, DSEQ) 209OPCODE(1, 2, COMP, DSNE) 210OPCODE(1, 1, COMP, DRCP) 211OPCODE(1, 1, COMP, DSQRT) 212OPCODE(1, 3, COMP, DMAD) 213OPCODE(1, 1, COMP, DFRAC) 214OPCODE(1, 2, COMP, DLDEXP) 215OPCODE(2, 1, REPL, DFRACEXP) 216OPCODE(1, 1, COMP, D2I) 217OPCODE(1, 1, COMP, I2D) 218OPCODE(1, 1, COMP, D2U) 219OPCODE(1, 1, COMP, U2D) 220OPCODE(1, 1, COMP, DRSQ) 221OPCODE(1, 1, COMP, DTRUNC) 222OPCODE(1, 1, COMP, DCEIL) 223OPCODE(1, 1, COMP, DFLR) 224OPCODE(1, 1, COMP, DROUND) 225OPCODE(1, 1, COMP, DSSG) 226OPCODE(1, 1, COMP, VOTE_ANY) 227OPCODE(1, 1, COMP, VOTE_ALL) 228OPCODE(1, 1, COMP, VOTE_EQ) 229OPCODE(1, 2, COMP, U64SEQ) 230OPCODE(1, 2, COMP, U64SNE) 231OPCODE(1, 2, COMP, I64SLT) 232OPCODE(1, 2, COMP, U64SLT) 233OPCODE(1, 2, COMP, I64SGE) 234OPCODE(1, 2, COMP, U64SGE) 235OPCODE(1, 2, COMP, I64MIN) 236OPCODE(1, 2, COMP, U64MIN) 237OPCODE(1, 2, COMP, I64MAX) 238OPCODE(1, 2, COMP, U64MAX) 239OPCODE(1, 1, COMP, I64ABS) 240OPCODE(1, 1, COMP, I64SSG) 241OPCODE(1, 1, COMP, I64NEG) 242OPCODE(1, 2, COMP, U64ADD) 243OPCODE(1, 2, COMP, U64MUL) 244OPCODE(1, 2, COMP, U64SHL) 245OPCODE(1, 2, COMP, I64SHR) 246OPCODE(1, 2, COMP, U64SHR) 247OPCODE(1, 2, COMP, I64DIV) 248OPCODE(1, 2, COMP, U64DIV) 249OPCODE(1, 2, COMP, I64MOD) 250OPCODE(1, 2, COMP, U64MOD) 251OPCODE(1, 2, COMP, DDIV) 252OPCODE(1, 3, OTHR, LOD) 253OPCODE(1, 3, OTHR, ATOMINC_WRAP, .is_store = 1) 254OPCODE(1, 3, OTHR, ATOMDEC_WRAP, .is_store = 1) 255