aco: combine VALU and SALU into various VOP3 instructions
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 20 Apr 2020 18:16:48 +0000 (19:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 12:39:33 +0000 (12:39 +0000)
commitd1621834f367d41500b7c1a819c046eb429fb8a6
tree731f9a182bf97ed9c14f65e3c7cef9851e35e7f5
parent607fb4153da08cdec6845e8505983fafa3cd63b3
aco: combine VALU and SALU into various VOP3 instructions

shader-db (Navi):
Totals from 2916 (2.28% of 127638) affected shaders:
SGPRs: 184427 -> 184283 (-0.08%); split: -0.10%, +0.02%
VGPRs: 143520 -> 143640 (+0.08%); split: -0.00%, +0.09%
CodeSize: 14913548 -> 14913288 (-0.00%); split: -0.00%, +0.00%
MaxWaves: 26034 -> 26012 (-0.08%)
Instrs: 2935435 -> 2930960 (-0.15%); split: -0.15%, +0.00%

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/4667>
src/amd/compiler/aco_optimizer.cpp