mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02: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> (cherry picked from commitcf05a7e66f)
This commit is contained in:
parent
2c5ef8cfd3
commit
f8cbd4d301
2 changed files with 2 additions and 2 deletions
|
|
@ -193,7 +193,7 @@
|
|||
"description": "broadcom/compiler: fix add vs. mul",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "7f61ff7b4d1dfe791264148ff3cbe8b03c76aeca"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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