aco: fix f2i64/f2u64 with sgprs if the exponent computation overflow
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Apr 2020 07:57:33 +0000 (09:57 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Apr 2020 11:51:17 +0000 (11:51 +0000)
commit729bdc0d70b0661c197e89b372f1b6d15e2acd69
treef4902c19f57faec5bed2854e10f3708f117856cf
parent6a8e5dde6684c477edddb044a38a6618bf38d014
aco: fix f2i64/f2u64 with sgprs if the exponent computation overflow

This fixes f16->{i64,u64} conversions for +0/-0.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4509>
src/amd/compiler/aco_instruction_selection.cpp