Lines Matching defs:mul
89 /* label_{abs,neg,mul,omod2,omod4,omod5,clamp} are used for both 16 and
274 void set_mul(Instruction* mul)
277 instr = mul;
299 void set_omod2(Instruction* mul)
302 instr = mul;
307 void set_omod4(Instruction* mul)
310 instr = mul;
315 void set_omod5(Instruction* mul)
318 instr = mul;
3524 /* find the 'best' mul instruction to combine with the add */
3542 /* no clamp allowed between mul and add */
3566 /* turn packed mul+add into v_pk_fma_f16 */
3571 VOP3P_instruction* mul = &mul_instr->vop3p();
3574 fma->neg_lo[i] = mul->neg_lo[i];
3575 fma->neg_hi[i] = mul->neg_hi[i];
3579 fma->opsel_lo = mul->opsel_lo;
3580 fma->opsel_hi = mul->opsel_hi;
3855 /* neg(mul(a, b)) -> mul(neg(a), b), abs(mul(a, b)) -> mul(abs(a), abs(b)) */
3877 /* convert to mul(neg(a), b), mul(abs(a), abs(b)) or mul(neg(abs(a)), abs(b)) */
3889 VOP3_instruction& mul = mul_instr->vop3();
3890 new_mul.neg[0] = mul.neg[0];
3891 new_mul.neg[1] = mul.neg[1];
3892 new_mul.abs[0] = mul.abs[0];
3893 new_mul.abs[1] = mul.abs[1];
3894 new_mul.omod = mul.omod;
3907 /* combine mul+add -> mad */
3925 /* find the 'best' mul instruction to combine with the add */
3931 /* no clamp/omod allowed between mul and add */
3993 /* turn mul+add into v_mad/v_fma */
4749 } else { /* mul literal -> madmk */