commit | a8eb6e19991d1a7a6a7b04ac447548d30d75eb4a | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Feb 05 13:37:22 2015 +0000 |
committer | Peter Maydell <peter.maydell@linaro.org> | Thu Feb 05 13:37:22 2015 +0000 |
tree | 799a46e9488640dae45bc518bfd0aebfd6455809 | |
parent | dabf005808f0830313f313c76a492294ef3bce6a [diff] |
target-arm: Squash input denormals in FRECPS and FRSQRTS The helper functions for FRECPS and FRSQRTS have special case handling that includes checks for zero inputs, so squash input denormals if necessary before those checks. This fixes incorrect output when the FPCR DZ bit is set to enable squashing of input denormals. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>