aco: prepare helper functions for subdword handling
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 2 Apr 2020 16:26:00 +0000 (17:26 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Fri, 3 Apr 2020 22:13:15 +0000 (23:13 +0100)
commit85521061d63c47b931e6d3e4a1ea540e46d358a6
treefaacf4b112fd478edcfdfb3a454aa8cdd705fe68
parentfe08f0ccf94a7315bded5868b4f6a8bae744de79
aco: prepare helper functions for subdword handling

- get_alu_src()
- emit_extract_vector()
- emit_split_vector()

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4002>
src/amd/compiler/aco_instruction_selection.cpp