]> git.proxmox.com Git - qemu.git/commit
softfloat: fix default-NaN mode
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:17 +0000 (20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:17 +0000 (20:39 +0100)
commit102016020bb0f368958ae91d293e13c61b3923a1
tree0c6d0006ce608f597bc169951b4658d3d710c635
parente90877507ea8864e32692cb79da1685f5ada8c78
softfloat: fix default-NaN mode

When the default-NaN mode is enabled, it should return the default NaN
value, but it should anyway raise the invalid operation flag if one of
the operand is an sNaN.

I have checked that this behavior matches the ARM and SH4 manuals, as
well as real SH4 hardware.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
fpu/softfloat-specialize.h