diff options
| author | Emilio G. Cota <cota@braap.org> | 2018-04-13 15:03:33 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-13 15:47:53 +0100 |
| commit | 6245327a367292b354489c54e965646823023919 (patch) | |
| tree | a163341ba60caee440428d8f7abda08eb8137bea /linux-user/signal.c | |
| parent | 38e83a71d02e026d4a6d0ab1ef9855c4924c2c68 (diff) | |
| download | focaccia-qemu-6245327a367292b354489c54e965646823023919.tar.gz focaccia-qemu-6245327a367292b354489c54e965646823023919.zip | |
softfloat: fix {min, max}nummag for same-abs-value inputs
Before 8936006 ("fpu/softfloat: re-factor minmax", 2018-02-21),
we used to return +Zero for maxnummag(-Zero,+Zero); after that
commit, we return -Zero.
Fix it by making {min,max}nummag consistent with {min,max}num,
deferring to the latter when the absolute value of the operands
is the same.
With this fix we now pass fp-test.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180413140334.26622-2-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions