broadcom/compiler: fix add vs. mul
Spotted by a compile warning
Fixes: 7f61ff7b4d
("broadcom/compiler: Merge instructions more efficiently")
Reviewed-by: Iago Torral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11764>
This commit is contained in:

committed by
Marge Bot

parent
458801e2c3
commit
cf05a7e66f
@@ -821,7 +821,7 @@ qpu_merge_raddrs(struct v3d_qpu_instr *result,
|
||||
if (mul_instr->alu.mul.a == V3D_QPU_MUX_A)
|
||||
result->alu.mul.a = V3D_QPU_MUX_B;
|
||||
if (mul_instr->alu.mul.b == V3D_QPU_MUX_A &&
|
||||
v3d_qpu_add_op_num_src(mul_instr->alu.mul.op) > 1) {
|
||||
v3d_qpu_mul_op_num_src(mul_instr->alu.mul.op) > 1) {
|
||||
result->alu.mul.b = V3D_QPU_MUX_B;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user