diff options
| author | Alex Bennée | 2018-04-13 16:03:34 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-04-16 11:10:31 +0200 |
| commit | 801bc56336a127d9b351b3a2cc0336e4d0cb2686 (patch) | |
| tree | a3dcc00133cb05105e8223da4e676bbe85e885bf /tcg/mips | |
| parent | softfloat: fix {min, max}nummag for same-abs-value inputs (diff) | |
| download | qemu-801bc56336a127d9b351b3a2cc0336e4d0cb2686.tar.gz qemu-801bc56336a127d9b351b3a2cc0336e4d0cb2686.tar.xz qemu-801bc56336a127d9b351b3a2cc0336e4d0cb2686.zip | |
fpu/softfloat: raise float_invalid for NaN/Inf in round_to_int_and_pack
The re-factor broke the raising of INVALID when NaN/Inf is passed to
the float_to_int conversion functions. round_to_uint_and_pack got this
right for NaN but also missed out the Inf handling.
Fixes https://bugs.launchpad.net/qemu/+bug/1759264
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tested-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180413140334.26622-3-alex.bennee@linaro.org
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg/mips')
0 files changed, 0 insertions, 0 deletions
