Lines Matching refs:opsel
840 !(instr->vop3().opsel & (1 << idx))) { in can_apply_extract()
883 instr->vop3().opsel |= 1 << idx; in apply_extract()
1502 vop3.omod != 0 || vop3.opsel != 0) in label_instruction()
1767 uint8_t opsel = 0; in combine_ordering_test() local
1789 if (vop3.neg[0] != vop3.neg[1] || vop3.abs[0] != vop3.abs[1] || vop3.opsel == 1 || in combine_ordering_test()
1790 vop3.opsel == 2) in combine_ordering_test()
1794 opsel |= (vop3.opsel & 1) << i; in combine_ordering_test()
1826 if (neg[0] || neg[1] || abs[0] || abs[1] || opsel || num_sgprs > 1) { in combine_ordering_test()
1833 vop3->opsel = opsel; in combine_ordering_test()
1908 new_vop3->opsel = cmp_vop3.opsel; in combine_comparison_ordering()
1995 if (vop3.neg[0] != vop3.neg[1] || vop3.abs[0] != vop3.abs[1] || vop3.opsel == 1 || in combine_constant_comparison_ordering()
1996 vop3.opsel == 2) in combine_constant_comparison_ordering()
2034 new_vop3->opsel = cmp_vop3.opsel; in combine_constant_comparison_ordering()
2086 new_vop3->opsel = cmp_vop3.opsel; in combine_inverse_comparison()
2131 uint8_t* opsel, bool* op1_clamp, uint8_t* op1_omod, bool* inbetween_neg, in match_op3_for_vop3() argument
2171 *inbetween_opsel = op1_vop3 ? op1_vop3->opsel & (1 << (unsigned)swap) : false; in match_op3_for_vop3()
2172 else if (op1_vop3 && op1_vop3->opsel & (1 << (unsigned)swap)) in match_op3_for_vop3()
2185 if (op1_vop3 && (op1_vop3->opsel & (1 << (unsigned)!swap))) in match_op3_for_vop3()
2186 *opsel |= 1 << shuffle[0]; in match_op3_for_vop3()
2192 if (op2_vop3 && op2_vop3->opsel & (1 << i)) in match_op3_for_vop3()
2193 *opsel |= 1 << shuffle[i + 1]; in match_op3_for_vop3()
2205 Operand operands[3], bool neg[3], bool abs[3], uint8_t opsel, bool clamp, in create_vop3_for_op3() argument
2213 new_instr->opsel = opsel; in create_vop3_for_op3()
2233 uint8_t opsel = 0, omod = 0; in combine_three_valu_op() local
2235 abs, &opsel, &clamp, &omod, NULL, NULL, NULL, &precise)) { in combine_three_valu_op()
2237 create_vop3_for_op3(ctx, new_op, instr, operands, neg, abs, opsel, clamp, omod); in combine_three_valu_op()
2301 uint8_t opsel = 0, omod = 0; in combine_add_or_then_and_lshl() local
2307 create_vop3_for_op3(ctx, op, instr, operands, neg, abs, opsel, clamp, omod); in combine_add_or_then_and_lshl()
2326 uint8_t opsel = 0, omod = 0; in combine_minmax() local
2329 abs, &opsel, &clamp, &omod, &inbetween_neg, NULL, NULL, &precise) && in combine_minmax()
2334 create_vop3_for_op3(ctx, minmax3, instr, operands, neg, abs, opsel, clamp, omod); in combine_minmax()
2590 uint8_t opsel = 0, omod = 0; in combine_clamp() local
2592 abs, &opsel, &clamp, &omod, NULL, NULL, NULL, &precise)) { in combine_clamp()
2622 if (opsel & (1 << const0_idx)) in combine_clamp()
2624 if (opsel & (1 << const1_idx)) in combine_clamp()
2685 create_vop3_for_op3(ctx, med, instr, operands, neg, abs, opsel, clamp, omod); in combine_clamp()
2888 if (instr->vop3().opsel & (1 << 3)) in apply_insert()
2891 instr->vop3().opsel |= 1 << 3; in apply_insert()