aco: combine DPP into VALU after RA
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 30 Jun 2020 14:33:18 +0000 (15:33 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Aug 2021 18:17:33 +0000 (18:17 +0000)
commit4ac47ad1cd7976d7effbbfae37fa69e26a288ad2
tree0a7d8cbe9030d42f288da8974373dee5d8aaeeb2
parent2e6834d4f6c9985bcaedd5ebc35ac5afc93c8f6f
aco: combine DPP into VALU after RA

Mostly helps a bunch of Cyberpunk 2077 shaders.

fossil-db (Siena Cichlid):
Totals from 26 (0.02% of 150170) affected shaders:
CodeSize: 83208 -> 81528 (-2.02%)
Instrs: 14728 -> 14308 (-2.85%)
Latency: 48041 -> 47793 (-0.52%)
InvThroughput: 10836 -> 10578 (-2.38%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11924>
src/amd/compiler/aco_optimizer_postRA.cpp