pan/bi: Register allocate BLEND dest on Valhall
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 18:53:35 +0000 (14:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commitf52de4621ae119c26681d0ce743271a378669c03
tree01e35b4ed787804bbbeb0a3908b37397ec8a004f
parent1bca6059b2f9bd1f7384cbf877a87e9067b98bfa
pan/bi: Register allocate BLEND dest on Valhall

On Bifrost, BLEND writes to the link register, acting like a function call. On
Valhall, BLEND does not write anything. But the BLEND instruction in our IR is a
pseudo-instruction with Bifrost semantics, expanding to a multi-instruction
sequence on Valhall. So it's not worth special casing Valhall in instruction
selection.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/bifrost/valhall/test/test-mark-last.cpp
src/panfrost/bifrost/valhall/va_pack.c