aco: sign-extend input/identity for 16-bit subgroup ops on GFX6-GFX7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 May 2020 14:21:44 +0000 (16:21 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Jun 2020 17:48:43 +0000 (19:48 +0200)
commit77f08982af8f0807ab489d36a5c137661e10624d
tree75f932326f6696bc50f33d8c2f321f0eac2eb76d
parentf31c9b4edf6e8d972f26461c49c5e193bf6d9a13
aco: sign-extend input/identity for 16-bit subgroup ops on GFX6-GFX7

16-bit subgroup ops are implemented with 32-bit instructions
on GFX6-GFX7.

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/5227>
src/amd/compiler/aco_lower_to_hw_instr.cpp