Skip to content
Snippets Groups Projects
user avatar
Richard Henderson authored
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: cf07323d
Fixes: https://bugs.launchpad.net/qemu/+bug/1793119


Tested-by: default avatarEmilio G. Cota <cota@braap.org>
Tested-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
5dfbc9e4
History
Name Last commit Last update
..