pan/bi: Handle abs packing for fp16/FMA add/min
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 28 Mar 2020 02:34:15 +0000 (22:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000 (01:12 +0000)
commitc88f816169cf2efa0bfcbe1e9a5b0c7948fb1ade
tree77e5bd2f6324b8436803e54d2d4618534e61f117
parentba8e11f0f173fd5e5ec376c6e7e582ea845b7499
pan/bi: Handle abs packing for fp16/FMA add/min

It's seriously quirky, and all to save a single bit. Alas. It also
introduces an edge case for the scheduler which is a bit annoying.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
src/panfrost/bifrost/bi_pack.c
src/panfrost/pandecode/decode.c