pan/bi: Implement min/max on FMA
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 6 Apr 2020 17:27:12 +0000 (13:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Apr 2020 19:41:56 +0000 (19:41 +0000)
commitf6bd0ec907a6fe61638046bd1286c7b3548fecbd
treea91878cd8bcf9c4e7378c2b148ea0b7220c8a446
parent545fc7b26aeef90f5c03d2a900a8e038011758d3
pan/bi: Implement min/max on FMA

Unfortunately, while this looks fine to the disasm, it's raising
INSTR_INVALID_ENC on my g31 board here. Looks like it might be ADD only
on newer Bifrost.

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