aco: create helpers to emit vop3p instructions
authorDaniel Schürmann <daniel@schuermann.dev>
Mon, 24 Aug 2020 18:43:26 +0000 (19:43 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Jan 2021 17:46:56 +0000 (17:46 +0000)
commit5ad52ac90630e344650cf9a1b48820432af22680
tree5f9409802f6c5a54092b70a8f5798111920d13ed
parent036a369f46ea7e5a3582377d72c77bf04550613c
aco: create helpers to emit vop3p instructions

Also make get_alu_src() capable to return
unswizzled multi-component SGPR sources.

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