aboutsummaryrefslogtreecommitdiffstats
path: root/target-i386/exec.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-04-20 13:04:23 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-25 11:18:33 +0200
commitc9ad19c57b4e35dda507ec636443069048a4ad72 (patch)
tree220a380adbcd9db4683be29cbd5afd84ba5016f8 /target-i386/exec.h
parent788e733664aab69e65bf5d5d228767cf4371f3ab (diff)
target-i386: fix helper_fxtract() wrt softfloat
With softfloat it's not possible to play with the overflow of an unsigned value to get the 0 case partially correct. Use a special case for that. Using a division to generate an infinity is the easiest way that works for both softfloat and softfloat-native. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-i386/exec.h')
0 files changed, 0 insertions, 0 deletions