aco/gfx11: fix get_gfx11_true16_mask with v_cmp_class_f16
authorGeorg Lehmann <dadschoorse@gmail.com>
Sat, 22 Jul 2023 21:17:45 +0000 (23:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Jul 2023 14:12:19 +0000 (14:12 +0000)
commit8fbebb6a2ac2b8b6e5c24fd8a9abb3ac3321fc03
treef8c3f57638cc0ac44fffa231e52343622c5da1be
parenta53d3ff0b3517bdcd56e2db12b39bc975922419e
aco/gfx11: fix get_gfx11_true16_mask with v_cmp_class_f16

The second operand is 16bit, so the we need to use VOP3 to address v128-v255.

Closes: #9413
Fixes: 6872f8d861b ("aco/gfx11: allow true 16-bit instructions to access v128+")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24294>
src/amd/compiler/aco_ir.cpp