diff options
author | Luis Pires <luis.pires@eldorado.org.br> | 2021-10-25 16:11:36 -0300 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 17:10:00 -0700 |
commit | 9276a31c3484ff236a958a1e2a38beefb0eb7ebb (patch) | |
tree | b686698f674067c8bf3ba8db53ee160f06b5d2ed /contrib | |
parent | 1c46937358fc27a9e446d08c877389ee84d6767d (diff) |
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: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211025191154.350831-2-luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions