diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-01-06 19:37:53 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-06 22:16:59 +0100 |
commit | 37d18660bbb1d60b4e59bf407b4b301749e0c3b9 (patch) | |
tree | 5aa60894bb89c588fe13eaae99fd5821e654498f /target-s390x/translate.c | |
parent | 838fa72d0b721766616e94a0f7dc76b15146cd82 (diff) |
softfloat: Implement flushing input denormals to zero
Add support to softfloat for flushing input denormal float32 and float64
to zero. softfloat's existing 'flush_to_zero' flag only flushes denormals
to zero on output. Some CPUs need input denormals to be flushed before
processing as well. Implement this, using a new status flag to enable it
and a new exception status bit to indicate when it has happened. Existing
CPUs should be unaffected as there is no behaviour change unless the
mode is enabled.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-s390x/translate.c')
0 files changed, 0 insertions, 0 deletions