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