qemu-patch-raspberry4/linux-user/arm
Peter Maydell 3ebe80c299 linux-user: Fix incorrect NaN detection in ARM nwfpe emulation
The code in the linux-user ARM nwfpe emulation was incorrectly
checking only for quiet NaNs when it should have been checking
for any kind of NaN. This is probably because the code in
question was taken from the Linux kernel, whose copy of the
softfloat library had been modified so that float*_is_nan()
returned true for all NaNs, not just quiet ones. The qemu
equivalent function is float*_is_any_nan(), so use that.
NB that this code is really obsolete since nobody uses FPE
for actual arithmetic now; this is just cleanup following
the recent renaming of the NaN related functions.

Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2011-01-07 17:38:48 +02:00
..
nwfpe linux-user: Fix incorrect NaN detection in ARM nwfpe emulation 2011-01-07 17:38:48 +02:00
syscall.h Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
syscall_nr.h linux-user: Add the syscall id for pselect6 on ARM 2010-03-26 20:48:30 +01:00
target_signal.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
termbits.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00