pan/mdg: Reexpress umul_high packing
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 24 Aug 2022 16:21:37 +0000 (12:21 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 24 Aug 2022 19:54:23 +0000 (19:54 +0000)
commit5bc830cbf26eca543319b0b8723276a69d0822ac
tree58ec05c34679885de69687ffcc4fb869c94e60ea
parent7b78e05ba8ecddab48af32f4e7a439e05a7925b2
pan/mdg: Reexpress umul_high packing

There are a bunch of subtle details of how 32-bit sources are
zero-extended to 64-bit, how their swizzles work, how 64-bit
destinations are shrunk to 32-bit, and how those two interact. This
fixes the interactions... mostly.

Fixes umul_high, all such tests should be passing now. Unblocks idiv
lowering that depends on umul_high.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17860>
src/panfrost/ci/panfrost-t860-fails.txt
src/panfrost/midgard/midgard_emit.c