aco: implement 8-bit/16-bit reductions on GFX10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 May 2020 15:38:17 +0000 (17:38 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 11:20:58 +0000 (11:20 +0000)
commit2e0ea9bccae5d280e163479d9c46d0ad8b29a504
tree4ab3e4935da96d316b4497387e2fc6c43e578064
parent75a730ced59701201ef4247cbe2189a9be6a9d18
aco: implement 8-bit/16-bit reductions on GFX10

Some 16-bit instructions are VOP3 on GFX10 and we have to emit a
32-bit DPP mov followed by the ALU instruction.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5148>
src/amd/compiler/aco_lower_to_hw_instr.cpp