Skip to content
Snippets Groups Projects
Commit 9276a31c authored by Luis Pires's avatar Luis Pires Committed by Richard Henderson
Browse files

host-utils: move checks out of divu128/divs128


In preparation for changing the divu128/divs128 implementations
to allow for quotients larger than 64 bits, move the div-by-zero
and overflow checks to the callers.

Signed-off-by: default avatarLuis Pires <luis.pires@eldorado.org.br>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20211025191154.350831-2-luis.pires@eldorado.org.br>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 1c469373
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment