aco: implement 64-bit sgpr swaps
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 17 Apr 2020 13:33:34 +0000 (14:33 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 13:25:17 +0000 (13:25 +0000)
commitf13049f48a068b435f3dfb24c9af801475f16fdb
treeabbf59ba940edbddfaea7a9c62125587c678655f
parent2ab45f41e08a3892138a1e9b20552621b4e18682
aco: implement 64-bit sgpr swaps

In our pipeline-db, helps almost exclusively Detroit: Become Human.

Totals from 6726 (5.36% of 125503) affected shaders:
CodeSize: 74680952 -> 74102228 (-0.77%)
Instrs: 14551507 -> 14406001 (-1.00%)
Cycles: 1748272436 -> 1690173104 (-3.32%)
VMEM: 964671 -> 964058 (-0.06%)
Copies: 1993312 -> 1847806 (-7.30%)

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/4469>
src/amd/compiler/aco_lower_to_hw_instr.cpp