target-arm: fix for exponent comparison in recpe_f64
commitfc1792e9aa36227ee9994757974f9397684e1a48
authorIldar Isaev <ild@inbox.ru>
Thu, 5 Feb 2015 13:37:25 +0000 (5 13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Feb 2015 13:37:25 +0000 (5 13:37 +0000)
tree09e791d458a9e12f1d05b66a461e0a6307189929
parent84f2bed3cf505f90b7918e2de32e11da27160563
target-arm: fix for exponent comparison in recpe_f64

f64 exponent in HELPER(recpe_f64) should be compared to 2045 rather than 1023
(FPRecipEstimate in ARMV8 spec). This fixes incorrect underflow handling when
flushing denormals to zero in the FRECPE instructions operating on 64-bit
values.

Signed-off-by: Ildar Isaev <ild@inbox.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c