aco: improve code for f2{i,u}{8,16}
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 19 May 2020 10:53:44 +0000 (11:53 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commitb6d9e45f473edf4a3cfa86963b1849365f2297b1
treeaa1e5db948ec5bc91684e4a09c28f83290d9d004
parent34d481fd1f689805e0f41a8907bd00f96270fbfc
aco: improve code for f2{i,u}{8,16}

Use sub-dword definitions so that the RA can use SDWA

No fossil-db changes.

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/5245>
src/amd/compiler/aco_instruction_selection.cpp