Lines Matching refs:opsel_hi
904 return instr->vop3p().opsel_hi & (1u << index) ? 16 : 32; in get_operand_size()
943 bool opsel_hi = (vop3p->opsel_hi >> i) & 1; in propagate_constants_vop3p() local
948 if ((unsigned)opsel_lo != j && (unsigned)opsel_hi != j) in propagate_constants_vop3p()
969 if (opsel_lo == opsel_hi) { in propagate_constants_vop3p()
975 opsel_hi = opsel_lo; in propagate_constants_vop3p()
982 opsel_hi = const_lo_opsel; in propagate_constants_vop3p()
989 opsel_hi = opsel_hi ? const_hi_opsel : !const_hi_opsel; in propagate_constants_vop3p()
996 opsel_hi = opsel_hi ? !const_lo_opsel : const_lo_opsel; in propagate_constants_vop3p()
1007 vop3p->neg_hi[i] ^= opsel_hi ^ neg_lo; in propagate_constants_vop3p()
1011 opsel_hi = false; in propagate_constants_vop3p()
1015 vop3p->opsel_hi = opsel_hi ? (vop3p->opsel_hi | (1 << i)) : (vop3p->opsel_hi & ~(1 << i)); in propagate_constants_vop3p()
3424 propagate_swizzles(VOP3P_instruction* instr, uint8_t opsel_lo, uint8_t opsel_hi) in propagate_swizzles() argument
3429 assert((opsel_hi & 1) == opsel_hi); in propagate_swizzles()
3431 uint8_t tmp_hi = instr->opsel_hi; in propagate_swizzles()
3439 if (opsel_hi == 0) { in propagate_swizzles()
3440 instr->opsel_hi = tmp_lo; in propagate_swizzles()
3454 !((vop3p->opsel_lo | vop3p->opsel_hi) & 2)) { in combine_vop3p()
3460 propagate_swizzles(candidate, vop3p->opsel_lo, vop3p->opsel_hi); in combine_vop3p()
3481 if ((fneg->opsel_lo | fneg->opsel_hi) & 2) in combine_vop3p()
3500 bool opsel_hi = (vop3p->opsel_hi >> i) & 1; in combine_vop3p() local
3504 vop3p->neg_hi[i] ^= opsel_hi ? neg_hi : neg_lo; in combine_vop3p()
3505 vop3p->opsel_lo ^= ((opsel_lo ? ~fneg->opsel_hi : fneg->opsel_lo) & 1) << i; in combine_vop3p()
3506 vop3p->opsel_hi ^= ((opsel_hi ? ~fneg->opsel_hi : fneg->opsel_lo) & 1) << i; in combine_vop3p()
3521 uint8_t opsel_lo = 0, opsel_hi = 0; in combine_vop3p() local
3549 opsel_hi = (vop3p->opsel_hi >> i) & 1; in combine_vop3p()
3580 fma->opsel_hi = mul->opsel_hi; in combine_vop3p()
3581 propagate_swizzles(fma.get(), opsel_lo, opsel_hi); in combine_vop3p()
3583 fma->opsel_hi |= (vop3p->opsel_hi << (2 - add_op_idx)) & 0x4; in combine_vop3p()
3635 vop3p->opsel_hi = 0x0; in to_mad_mix()
3645 vop3p->opsel_hi &= 0x3; in to_mad_mix()
3649 vop3p->opsel_hi &= 0x6; in to_mad_mix()
3742 instr->vop3p().opsel_hi ^= 1u << i; in combine_mad_mix()
3912 ((instr->operands[0].constantEquals(0x3f800000) && (instr->vop3p().opsel_hi & 0x1) == 0) || in combine_instruction()
3913 (instr->operands[0].constantEquals(0x3C00) && (instr->vop3p().opsel_hi & 0x1) && in combine_instruction()
4009 uint8_t opsel_hi = 0; in combine_instruction() local
4024 opsel_hi = vop3p.opsel_hi & 0x3; in combine_instruction()
4047 opsel_hi |= vop3p.opsel_hi & (1 << add_op_idx) ? 0x4 : 0x0; in combine_instruction()
4081 mad->opsel_hi = opsel_hi; in combine_instruction()