]> git.proxmox.com Git - qemu.git/commit
softfloat: abstract out target-specific NaN propagation rules
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Dec 2010 11:51:17 +0000 (11:51 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 2 Jan 2011 22:58:57 +0000 (23:58 +0100)
commit354f211b1a49a7387929e22d6e63849fcba48f8a
tree7aebf4c50edb02147a2164ae038659f17c65cf28
parent185698715dfb18c82ad2a5dbc169908602d43e81
softfloat: abstract out target-specific NaN propagation rules

IEEE754 doesn't specify precisely what NaN should be returned as
the result of an operation on two input NaNs. This is therefore
target-specific. Abstract out the code in propagateFloat*NaN()
which was implementing the x87 propagation rules, so that it
can be easily replaced on a per-target basis.

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