mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
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:
parent
458801e2c3
commit
cf05a7e66f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue