qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v3 07/22] host-utils: add 128-bit quotient support to divu128


From: Luis Fernando Fujita Pires
Subject: RE: [PATCH v3 07/22] host-utils: add 128-bit quotient support to divu128/divs128
Date: Mon, 25 Oct 2021 18:51:45 +0000

From: Richard Henderson <richard.henderson@linaro.org>
> > A new argument, prem, was added to divu128/divs128 to receive the
> > remainder, freeing up phigh to receive the high 64 bits of the
> > quotient.
> >
> > Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
> 
> Why not return the remainder?  That would avoid the need for an extra
> argument, and the need for a conditional vs prem inside the division 
> functions.

No good reason, in fact. :)
I've changed that for the next version of the patch series. Thanks!

--
Luis Pires
Instituto de Pesquisas ELDORADO
Aviso Legal - Disclaimer <https://www.eldorado.org.br/disclaimer.html>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]