pan/bi: Use consistent modifier lists in packing
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 23 Mar 2022 22:12:31 +0000 (18:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Mar 2022 19:00:13 +0000 (19:00 +0000)
commit3485b8dc78d8515665158c606b48e7ce21eae1f2
tree223e2b2da17cbab8937f3d1f11ddaa1bb1aed1da
parentb1fa2068b8e87474e1a0e3c98e2bff0e744348f3
pan/bi: Use consistent modifier lists in packing

If there are modifiers only used by pseudo instructions, not the real
instructions, bi_packer can get out-of-sync with bi_opcodes, causing
hard-to-debug issues. Do the stupid-simple thing to ensure this doesn't happen.

This may be a temporary issue, depending whether ISA.xml and the IR get split
out for better Valhall support.

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