aco: add affinity for non-sequential MIMG operands
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 9 Dec 2020 16:32:58 +0000 (16:32 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 Jan 2021 16:46:54 +0000 (16:46 +0000)
commitaf9977a3d5f3378c297965e21389e36491f47e1b
tree39bcee913cbcc5822f8432d01ff776aa7303623d
parent4015b3651acec7279feaddfb9a6ea3fcb42ce907
aco: add affinity for non-sequential MIMG operands

fossil-db (GFX10.3):
Totals from 42008 (30.14% of 139391) affected shaders:
VGPRs: 2139116 -> 2147696 (+0.40%); split: -0.06%, +0.46%
CodeSize: 199109120 -> 198637852 (-0.24%); split: -0.24%, +0.01%
Instrs: 37713901 -> 37714574 (+0.00%); split: -0.02%, +0.03%
Cycles: 1621911328 -> 1621634168 (-0.02%); split: -0.02%, +0.01%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8523>
src/amd/compiler/aco_register_allocation.cpp