Re: [PATCH] Add udivmoddi4.

2021-06-09 Thread Tom Rini
On Wed, Jun 09, 2021 at 09:20:20PM +0200, Christian Melki wrote: > On 6/9/21 8:31 PM, Tom Rini wrote: > > On Mon, Jun 07, 2021 at 11:20:47AM +0200, Christian Melki wrote: > > > >> A newer toolchain will emit udivmoddi4 for certain divide + modulo > >> operations instead of a separate divide and mo

Re: [PATCH] Add udivmoddi4.

2021-06-09 Thread Christian Melki
On 6/9/21 8:31 PM, Tom Rini wrote: > On Mon, Jun 07, 2021 at 11:20:47AM +0200, Christian Melki wrote: > >> A newer toolchain will emit udivmoddi4 for certain divide + modulo >> operations instead of a separate divide and modulo operation. >> AFAIU, this would be sufficient. >> >> Signed-off-by: Ch

Re: [PATCH] Add udivmoddi4.

2021-06-09 Thread Tom Rini
On Mon, Jun 07, 2021 at 11:20:47AM +0200, Christian Melki wrote: > A newer toolchain will emit udivmoddi4 for certain divide + modulo > operations instead of a separate divide and modulo operation. > AFAIU, this would be sufficient. > > Signed-off-by: Christian Melki > --- > arch/x86/lib/div64.

[PATCH] Add udivmoddi4.

2021-06-07 Thread Christian Melki
A newer toolchain will emit udivmoddi4 for certain divide + modulo operations instead of a separate divide and modulo operation. AFAIU, this would be sufficient. Signed-off-by: Christian Melki --- arch/x86/lib/div64.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/x86/lib/div64.c