Lines Matching defs:subOp
790 emitField(0x29, 1, insn->subOp);
873 emitField(0x29, 2, insn->subOp);
906 emitField(0x29, 2, insn->subOp);
950 if (insn->subOp == 1) {
995 emitField(0x1e, 2, insn->subOp);
1403 case OP_RCP: mufu = 4 + 2 * insn->subOp; break;
1404 case OP_RSQ: mufu = 5 + 2 * insn->subOp; break;
1634 emitField(0x1c, 8, insn->subOp);
1797 emitField(0x27, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH);
1802 emitField(0x35, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH);
1846 emitField(0x36, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH);
1911 emitField(0x2b, 2, insn->subOp);
2081 emitField(0x27, 1, insn->subOp == NV50_IR_SUBOP_SHIFT_WRAP);
2110 emitField(0x27, 1, insn->subOp == NV50_IR_SUBOP_SHIFT_WRAP);
2146 emitField(0x32, 1, !!(insn->subOp & NV50_IR_SUBOP_SHIFT_WRAP));
2148 emitField(0x30, 1, !!(insn->subOp & NV50_IR_SUBOP_SHIFT_HIGH));
2243 emitField(0x28, 1, insn->subOp == NV50_IR_SUBOP_EXTBF_REV);
2271 emitField(0x29, 1, insn->subOp == NV50_IR_SUBOP_BFIND_SAMT);
2322 emitField(0x2c, 2, insn->subOp);
2508 unsigned dType, subOp;
2510 if (insn->subOp == NV50_IR_SUBOP_ATOM_CAS) {
2516 subOp = 15;
2529 if (insn->subOp == NV50_IR_SUBOP_ATOM_EXCH)
2530 subOp = 8;
2532 subOp = insn->subOp;
2537 emitField(0x34, 4, subOp);
2548 unsigned dType, subOp;
2550 if (insn->subOp == NV50_IR_SUBOP_ATOM_CAS) {
2556 subOp = 4;
2569 if (insn->subOp == NV50_IR_SUBOP_ATOM_EXCH)
2570 subOp = 8;
2572 subOp = insn->subOp;
2578 emitField(0x34, 4, subOp);
2601 emitField(0x17, 3, insn->subOp);
2620 emitField(0x00, 4, insn->subOp);
2632 emitField(0x1f, 3, insn->subOp);
2833 emitField(0x14, 6, insn->subOp);
2834 emitField(0x00, 6, insn->subOp);
2857 const int cut = insn->op == OP_RESTART || insn->subOp;
2886 uint8_t subop;
2890 switch (insn->subOp) {
2891 case NV50_IR_SUBOP_BAR_RED_POPC: subop = 0x02; break;
2892 case NV50_IR_SUBOP_BAR_RED_AND: subop = 0x0a; break;
2893 case NV50_IR_SUBOP_BAR_RED_OR: subop = 0x12; break;
2894 case NV50_IR_SUBOP_BAR_ARRIVE: subop = 0x81; break;
2896 subop = 0x80;
2897 assert(insn->subOp == NV50_IR_SUBOP_BAR_SYNC);
2901 emitField(0x20, 8, subop);
2935 emitField(0x08, 2, insn->subOp >> 2);
2953 emitField(0x30, 2, insn->subOp);
3078 uint8_t type = 0, subOp;
3080 if (insn->subOp == NV50_IR_SUBOP_ATOM_CAS)
3101 if (insn->subOp == NV50_IR_SUBOP_ATOM_CAS) {
3102 subOp = 0;
3103 } else if (insn->subOp == NV50_IR_SUBOP_ATOM_EXCH) {
3104 subOp = 8;
3106 subOp = insn->subOp;
3110 emitField(0x1d, 4, subOp);
3372 if (!insn->defExists(0) && insn->subOp < NV50_IR_SUBOP_ATOM_CAS)