broadcom/compiler: allow instruction merges in v71
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 30 Sep 2021 11:22:48 +0000 (13:22 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 22:37:42 +0000 (22:37 +0000)
commitb4e0c9bac4273c58c187a078122129bde5e74411
tree775b6554911fb9dd735e657661a6a348a51bccfe
parent28631a5550ac2b42fe205fe85ae215ef040f8633
broadcom/compiler: allow instruction merges in v71

In v3d 4.x there were restrictions based on the number of raddrs used
by the combined instructions, but we don't have these restrictions in
v3d 7.x.

It should be noted that while there are no restrictions on the number
of raddrs addressed, a QPU instruction can only address a single small
immediate, so we should be careful about that when we add support for
small immediates.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
src/broadcom/compiler/qpu_schedule.c