aco/gfx10: Refactor of GFX10 wave64 bpermute.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 26 May 2020 23:22:28 +0000 (01:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 21:12:12 +0000 (21:12 +0000)
commit14a5021aff661a26d76f330fec55d400d35443a8
treef9ced501d92fbf093b8fe22cf4211f1b72d03de3
parentfe3947632ce9946562a39ef95a6796b8604f1f42
aco/gfx10: Refactor of GFX10 wave64 bpermute.

The emulated GFX10 wave64 bpermute no longer needs a linear_vgpr,
so we don't consider it a reduction anymore. Additionally, the
code is slightly reorganized in preparation for the GFX6 emulated
bpermute.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5223>
src/amd/compiler/aco_builder_h.py
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_ir.h
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/compiler/aco_opcodes.py
src/amd/compiler/aco_print_ir.cpp
src/amd/compiler/aco_reduce_assign.cpp