aco: Emulate Wave64 bpermute on GFX11.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 13 Dec 2022 09:11:04 +0000 (10:11 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Dec 2022 13:54:04 +0000 (13:54 +0000)
commitdb5c3f170f19d58816e70ca56a2573caadd7acba
treef47d924a6f823d988e137e168106640c6c0c3936
parent853e76f0076ac6bff4abd2f5db2f5c400726d1c2
aco: Emulate Wave64 bpermute on GFX11.

Similar to emit_gfx10_wave64_bpermute, but uses the new
v_permlane64_b32 instruction to swap data between wave halves.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20293>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/compiler/aco_opcodes.py
src/amd/compiler/aco_optimizer.cpp
src/amd/compiler/aco_reduce_assign.cpp
src/amd/compiler/aco_validate.cpp