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