aco: try to always find a register with stride for even sizes
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 15 Apr 2020 10:00:45 +0000 (11:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 18:23:23 +0000 (18:23 +0000)
commitd666d83be2fa03210f38b06e72410e8d8221b184
treedd735e553bb5772705da292f48a7195e4a9f5722
parent5a3c1f4f0bfbcc9ea1900891435c28df73b5afa8
aco: try to always find a register with stride for even sizes

Totals from affected shaders:
SGPRS: 1162400 -> 1162400 (0.00 %)
VGPRS: 947364 -> 946960 (-0.04 %)
Code Size: 98399300 -> 98399004 (-0.00 %) bytes
Max Waves: 74665 -> 74682 (0.02 %)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4573>
src/amd/compiler/aco_register_allocation.cpp