Lines Matching defs:opsel

840               !(instr->vop3().opsel & (1 << idx))) {
883 instr->vop3().opsel |= 1 << idx;
1502 vop3.omod != 0 || vop3.opsel != 0)
1767 uint8_t opsel = 0;
1789 if (vop3.neg[0] != vop3.neg[1] || vop3.abs[0] != vop3.abs[1] || vop3.opsel == 1 ||
1790 vop3.opsel == 2)
1794 opsel |= (vop3.opsel & 1) << i;
1826 if (neg[0] || neg[1] || abs[0] || abs[1] || opsel || num_sgprs > 1) {
1833 vop3->opsel = opsel;
1908 new_vop3->opsel = cmp_vop3.opsel;
1995 if (vop3.neg[0] != vop3.neg[1] || vop3.abs[0] != vop3.abs[1] || vop3.opsel == 1 ||
1996 vop3.opsel == 2)
2034 new_vop3->opsel = cmp_vop3.opsel;
2086 new_vop3->opsel = cmp_vop3.opsel;
2131 uint8_t* opsel, bool* op1_clamp, uint8_t* op1_omod, bool* inbetween_neg,
2171 *inbetween_opsel = op1_vop3 ? op1_vop3->opsel & (1 << (unsigned)swap) : false;
2172 else if (op1_vop3 && op1_vop3->opsel & (1 << (unsigned)swap))
2185 if (op1_vop3 && (op1_vop3->opsel & (1 << (unsigned)!swap)))
2186 *opsel |= 1 << shuffle[0];
2192 if (op2_vop3 && op2_vop3->opsel & (1 << i))
2193 *opsel |= 1 << shuffle[i + 1];
2205 Operand operands[3], bool neg[3], bool abs[3], uint8_t opsel, bool clamp,
2213 new_instr->opsel = opsel;
2233 uint8_t opsel = 0, omod = 0;
2235 abs, &opsel, &clamp, &omod, NULL, NULL, NULL, &precise)) {
2237 create_vop3_for_op3(ctx, new_op, instr, operands, neg, abs, opsel, clamp, omod);
2301 uint8_t opsel = 0, omod = 0;
2307 create_vop3_for_op3(ctx, op, instr, operands, neg, abs, opsel, clamp, omod);
2317 /* TODO: this can handle SDWA min/max instructions by using opsel */
2326 uint8_t opsel = 0, omod = 0;
2329 abs, &opsel, &clamp, &omod, &inbetween_neg, NULL, NULL, &precise) &&
2334 create_vop3_for_op3(ctx, minmax3, instr, operands, neg, abs, opsel, clamp, omod);
2590 uint8_t opsel = 0, omod = 0;
2592 abs, &opsel, &clamp, &omod, NULL, NULL, NULL, &precise)) {
2622 if (opsel & (1 << const0_idx))
2624 if (opsel & (1 << const1_idx))
2685 create_vop3_for_op3(ctx, med, instr, operands, neg, abs, opsel, clamp, omod);
2888 if (instr->vop3().opsel & (1 << 3))
2891 instr->vop3().opsel |= 1 << 3;