aco: fix propagate_constants_vop3p with integer vop3p and 16-bit constants
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 2 May 2022 12:10:47 +0000 (13:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Jul 2022 16:39:56 +0000 (16:39 +0000)
commitae744745092177c7eaee638bd3962ec7f3677ca8
tree506758ab207e391a36f2626ec19cb907b04fca78
parent9739c07d9e20fe6469218e338e34acea7b73a513
aco: fix propagate_constants_vop3p with integer vop3p and 16-bit constants

This would have created a 1.0.xx operand from 0x3c00.xx or 0x3c003c00.xy
for vop3p instructions which have 32-bit operands.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16296>
src/amd/compiler/aco_optimizer.cpp