]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Ignore float_flag_input_denormal from fp_status_f16
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Aug 2018 13:05:29 +0000 (14:05 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Mar 2019 02:18:43 +0000 (21:18 -0500)
commita606615e2f16dae2ff934fdf115b12f204c5fc84
tree8dffaa9a3bf205d7c18ad9c55a7bda8bc2faab87
parentfbec38531cbea6d3ae911645547caf9fbdc23714
target/arm: Ignore float_flag_input_denormal from fp_status_f16

When FZ is set, input_denormal exceptions are recognized, but this does
not happen with FZ16.  The softfloat code has no way to distinguish
these bits and will raise such exceptions into fp_status_f16.flags,
so ignore them when computing the accumulated flags.

Cc: qemu-stable@nongnu.org (3.0.1)
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20180810193129.1556-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 19062c169e5bcdda3d60df9161228e107bf0f96e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/helper.c