aco: move src1 to vgpr instead of using VOP3 for VOP2 instructions during isel
authorDaniel Schürmann <daniel@schuermann.dev>
Mon, 20 Apr 2020 12:02:26 +0000 (13:02 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Apr 2020 15:12:50 +0000 (15:12 +0000)
commitc3c1f4d6bcc210408f8b180727d269838b38193b
tree90f35a2e44bb97107ff33fd87d3c927f40e3da57
parentbe0bb7e1015ee0c5930b2aabd3e3de7c790be5e0
aco: move src1 to vgpr instead of using VOP3 for VOP2 instructions during isel

Is simpler and helps a couple of shaders.
Totals from affected shaders: (Vega)
Code Size: 16341296 -> 16335460 (-0.04 %) bytes

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