aboutsummaryrefslogtreecommitdiff
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-02-05 13:37:22 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-02-05 13:37:22 +0000
commita8eb6e19991d1a7a6a7b04ac447548d30d75eb4a (patch)
tree799a46e9488640dae45bc518bfd0aebfd6455809 /dma-helpers.c
parentdabf005808f0830313f313c76a492294ef3bce6a (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>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions