summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-10-03 09:35:51 -0500
committerRichard Henderson <richard.henderson@linaro.org>2018-10-05 12:57:41 -0500
commit5dfbc9e4903c0121140f2945f05df48cea72dd82 (patch)
treea3919c99dfd9c4144513dc134836ffc902977a72 /scripts
parent0019d5c3a18c31604fb55f9cec3ceb13999c4866 (diff)
downloadfocaccia-qemu-5dfbc9e4903c0121140f2945f05df48cea72dd82.tar.gz
focaccia-qemu-5dfbc9e4903c0121140f2945f05df48cea72dd82.zip
softfloat: Fix division
The __udiv_qrnnd primitive that we nicked from gmp requires its
inputs to be normalized.  We were not doing that.  Because the
inputs are nearly normalized already, finishing that is trivial.

Replace div128to64 with a "proper" udiv_qrnnd, so that this
remains a reusable primitive.

Fixes: cf07323d494
Fixes: https://bugs.launchpad.net/qemu/+bug/1793119
Tested-by: Emilio G. Cota <cota@braap.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions