Searched refs:mul_instr (Results 1 – 2 of 2) sorted by relevance
774 const struct v3d_qpu_instr *mul_instr) in qpu_merge_raddrs() argument776 uint64_t raddrs_used = qpu_raddrs_used(add_instr, mul_instr); in qpu_merge_raddrs()782 if ((add_instr->sig.small_imm || mul_instr->sig.small_imm)) { in qpu_merge_raddrs()786 if (add_instr->sig.small_imm && mul_instr->sig.small_imm) in qpu_merge_raddrs()787 if (add_instr->raddr_b != mul_instr->raddr_b) in qpu_merge_raddrs()792 add_instr->raddr_b : mul_instr->raddr_b; in qpu_merge_raddrs()812 if (v3d_qpu_uses_mux(mul_instr, V3D_QPU_MUX_B) && in qpu_merge_raddrs()813 raddr_a == mul_instr->raddr_b) { in qpu_merge_raddrs()814 if (mul_instr->alu.mul.a == V3D_QPU_MUX_B) in qpu_merge_raddrs()816 if (mul_instr->alu.mul.b == V3D_QPU_MUX_B && in qpu_merge_raddrs()[all …]
3158 Instruction* mul_instr = nullptr; in combine_vop3p() local3185 mul_instr = info.instr; in combine_vop3p()3192 if (!mul_instr) in combine_vop3p()3196 Operand op[3] = {mul_instr->operands[0], mul_instr->operands[1], instr->operands[add_op_idx]}; in combine_vop3p()3197 ctx.uses[mul_instr->definitions[0].tempId()]--; in combine_vop3p()3198 if (ctx.uses[mul_instr->definitions[0].tempId()]) { in combine_vop3p()3206 assert(mul_instr->isVOP3P()); in combine_vop3p()3210 VOP3P_instruction* mul = &mul_instr->vop3p(); in combine_vop3p()3307 Instruction* mul_instr = ctx.info[val.id()].instr; in combine_instruction() local3309 if (mul_instr->operands[0].isLiteral()) in combine_instruction()[all …]