summaryrefslogtreecommitdiffstats
path: root/include/fpu
diff options
context:
space:
mode:
authorJoseph Myers2020-06-08 18:56:20 +0200
committerPaolo Bonzini2020-06-26 15:39:38 +0200
commitb662495dca0a2a36008cf8def91e2566519ed3f2 (patch)
treecba436afcb5cf0ec3e121301f3ba59297f008acd /include/fpu
parentsoftfloat: fix floatx80 remainder pseudo-denormal check for zero (diff)
downloadqemu-b662495dca0a2a36008cf8def91e2566519ed3f2.tar.gz
qemu-b662495dca0a2a36008cf8def91e2566519ed3f2.tar.xz
qemu-b662495dca0a2a36008cf8def91e2566519ed3f2.zip
softfloat: do not return pseudo-denormal from floatx80 remainder
The floatx80 remainder implementation sometimes returns the numerator unchanged when the denominator is sufficiently larger than the numerator. But if the value to be returned unchanged is a pseudo-denormal, that is incorrect. Fix it to normalize the numerator in that case. Signed-off-by: Joseph Myers <joseph@codesourcery.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <alpine.DEB.2.21.2006081655520.23637@digraph.polyomino.org.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/fpu')
0 files changed, 0 insertions, 0 deletions