]> git.proxmox.com Git - mirror_qemu.git/commit
softfloat: Support float_round_to_odd more places
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Feb 2019 17:02:25 +0000 (09:02 -0800)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 26 Feb 2019 14:08:03 +0000 (14:08 +0000)
commit5d64abb32ffe558e616545819f3e53dd66335994
treeca60e7613392eea5f37eaa64be370932476779d2
parentdc3f8a9dcfc701c7d528a88e8fc85e727ae5551b
softfloat: Support float_round_to_odd more places

Previously this was only supported for roundAndPackFloat64.

New support in round_canonical, round_to_int, float128_round_to_int,
roundAndPackFloat32, roundAndPackInt32, roundAndPackInt64,
roundAndPackUint64.  This does not include any of the floatx80 routines,
as we do not have users for that rounding mode there.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190215170225.15537-1-richard.henderson@linaro.org>
Tested-by: David Hildenbrand <david@redhat.com>
[AJB: add missing break]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
fpu/softfloat.c
tests/fp/fp-test.c