aboutsummaryrefslogtreecommitdiff
path: root/m68k-dis.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-01-06 18:34:44 +0000
committerRiku Voipio <riku.voipio@iki.fi>2011-01-07 17:38:48 +0200
commit3ebe80c2993205ad6ad7ee0e800068f08932775c (patch)
tree2200101863881636b0aaed1fec1ac499ad563f67 /m68k-dis.c
parent2bed652fc596dee09f27dd7ab20528cf5eaf9203 (diff)
downloadqemu-3ebe80c2993205ad6ad7ee0e800068f08932775c.zip
qemu-3ebe80c2993205ad6ad7ee0e800068f08932775c.tar.gz
qemu-3ebe80c2993205ad6ad7ee0e800068f08932775c.tar.bz2
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>
Diffstat (limited to 'm68k-dis.c')
0 files changed, 0 insertions, 0 deletions