Re: [PATCH] __div64_const32(): improve the generic C version

From: Arnd Bergmann
Date: Fri Aug 30 2019 - 15:50:24 EST


On Wed, Aug 21, 2019 at 5:05 AM Nicolas Pitre <nico@xxxxxxxxxxx> wrote:
>
> Let's rework that code to avoid large immediate values and convert some
> 64-bit variables to 32-bit ones when possible. This allows gcc to
> produce smaller and better code. This even produces optimal code on
> RISC-V.
>
> Signed-off-by: Nicolas Pitre <nico@xxxxxxxxxxx>
>

Applied, thanks!

Arnd