pan/bi: Implement general 8-bit vector construction
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 22 Jun 2022 18:33:43 +0000 (14:33 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Sep 2022 21:40:06 +0000 (21:40 +0000)
commit6b87a65e383eae2225a45b41090ad4f4f53efcda
tree8da5716c2e6a8301a8a8aee158bdbc7ee8ca8601
parentfaaf4f6c4540ecd83e3fc1c2602e517d8af0e28d
pan/bi: Implement general 8-bit vector construction

Refactor the 16-bit vector construction code to separate the collect of separate
32-bit words from the construction of single 32-bit vectors from sub-32-bit
parts. Then add a path to combine (up to 4) bytes into a 32-bit word using
Valhall's MKVEC.v2i8 instruction.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17220>
src/panfrost/bifrost/bifrost_compile.c