aco: combine scalar mul+pk_add to pk_fma
authorGeorg Lehmann <dadschoorse@gmail.com>
Thu, 9 Mar 2023 13:51:50 +0000 (14:51 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Jun 2023 14:29:24 +0000 (14:29 +0000)
commit71d30bcede5df1450bf4a1c018d241a94482ba16
treeca3f8a8a6fca5cee8cdab3599593c8e44a85ee1c
parent6db61d0dc07173a276c2d6c487791774afc072ae
aco: combine scalar mul+pk_add to pk_fma

Foz-DB Navi21:
Totals from 12 (0.01% of 134913) affected shaders:
CodeSize: 37860 -> 37668 (-0.51%)
Instrs: 6757 -> 6733 (-0.36%)
Latency: 25632 -> 25589 (-0.17%)
InvThroughput: 2637 -> 2622 (-0.57%)

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21819>
src/amd/compiler/aco_optimizer.cpp