]> git.proxmox.com Git - mirror_qemu.git/commit - fpu/softfloat.c
softfloat: Add new flag for when denormal result is flushed to zero
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 May 2011 13:46:17 +0000 (14:46 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 23 May 2011 20:39:35 +0000 (22:39 +0200)
commite6afc87f804abee7d0479be5e8e31c56d885fafb
tree7583efb95a098017efe645d40a81941d1216f671
parent43fe9bdb0f64237187aeab809bb98e1b46807538
softfloat: Add new flag for when denormal result is flushed to zero

Add a new float_flag_output_denormal which is set when the result
of a floating point operation would be denormal but is flushed to
zero because we are in flush_to_zero mode. This is necessary because
some architectures signal this condition as an underflow and others
signal it as an inexact result.

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