]> git.proxmox.com Git - mirror_qemu.git/commit
softfpu: Add float_round_to_odd_inf
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 25 May 2021 22:58:10 +0000 (15:58 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:26 +0000 (16:43 +0100)
commit60c8f7265d7eb51dfb38ea6701d10cbe2d7c7a64
tree643b8806c9ba6e8d716708c8f7011d9904dbb46d
parentd29b17ca3eac79ab77c76ec8285698b0c57d04b2
softfpu: Add float_round_to_odd_inf

For Arm BFDOT and BFMMLA, we need a version of round-to-odd
that overflows to infinity, instead of the max normal number.

Cc: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210525225817.400336-6-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
fpu/softfloat-parts.c.inc
include/fpu/softfloat-types.h