mesa/src/amd
Daniel Schürmann 7f40dc9760 aco: simplify multiply-add combining
When both operands of a v_sub (same apply for v_add) are mul and one
already uses clamp/omod, pick the other operand to get a chance to
combine to a MAD.

No fossils-db changes.

Co-authored-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6680>
(cherry picked from commit 01134b0bfe)
2021-01-13 11:24:11 -08:00
..
addrlib amd/addrlib: use cpp.has_argument() to filter compiler arguments 2021-01-05 11:29:11 +00:00
common ac/surface: store DCC mip info into the surface 2021-01-13 13:42:04 +00:00
compiler aco: simplify multiply-add combining 2021-01-13 11:24:11 -08:00
llvm ac/nir: implement sparse image/texture loads 2021-01-08 14:27:07 +00:00
registers amd/registers: add missing VRS registers 2020-12-14 16:22:38 +00:00
vulkan radv: vectorize 16bit instructions 2021-01-13 11:24:11 -08:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/registers: switch to new generated register definitions 2020-09-06 20:20:34 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: ac/radv: fix typo in ac_rgp.h listed in Makefile.sources 2021-01-09 11:15:09 +01:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00