[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173405995386.325393.4617269983686036811.b4-ty@linux.ibm.com>
Date: Fri, 13 Dec 2024 08:50:35 +0530
From: Madhavan Srinivasan <maddy@...ux.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
Naveen N Rao <naveen@...nel.org>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: Madhavan Srinivasan <maddy@...ux.ibm.com>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/32: Replace mulhdu() by mul_u64_u64_shr()
On Sat, 07 Dec 2024 11:09:27 +0100, Christophe Leroy wrote:
> Using mul_u64_u64_shr() provides similar calculation as mulhdu()
> assembly function, but enables inlining by the compiler.
>
> The home-made assembly function had special handling for when one of
> the arguments is not a fully populated u64 but time functions use it
> to multiply timebase by a calculated scale which is constructed to
> have most significant bit set.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/32: Replace mulhdu() by mul_u64_u64_shr()
https://git.kernel.org/powerpc/c/2a17a5bebc9aa7f59e99676350866adc41577c03
Thanks
Powered by blists - more mailing lists