[PATCH v2] hash: provide crc32 functions based on intrinsics

Morten Brørup mb at smartsharesystems.com
Wed May 22 10:36:35 CEST 2024


> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Wednesday, 22 May 2024 04.21
> 
> On Tue, 21 May 2024 17:02:14 -0700
> Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:
> 
> > MSVC does not support inline asm so replace crc32 inline function
> > implementations with intrinsics compatible with all toolchains.
> >
> > Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> > ---
> 
> always good to remove asm since in tends not to get optimized.
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list