coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cksum: Use ARMv8 SIMD extensions


From: Sam Russell
Subject: Re: [PATCH] cksum: Use ARMv8 SIMD extensions
Date: Thu, 5 Dec 2024 22:05:10 +0100

> It doesn't support macos currently as it uses the linux only getauxval()
> to determine CPU support.

Nice find, yeah it looks like the cpu flag support isn't as nice as on x86


> It doesn't work on gcc 6 on debian 9.13 as it doesn't have support
> for the vget_lane_p64() intrinsics etc. Again that's fine as that's old.

Yeah as long as it fails at config and it doesn't break the build or make
binaries that don't work then that seems fine


> I did find a more modern aarch64 (AMD Opteron 1100) Linux system
> running OpenSUSE 15 (GCC 7), where the code worked fine and showed a
> significant improvement in performance:

Perfect, that's roughly what I was expecting. It goes from processing one
byte at a time to 4 so it should be an improvement.


> BTW I ran cksum_vmull.c through `indent -nut`, and I'll push this later.

Thanks, I need to remember to do that for my next PR


reply via email to

[Prev in Thread] Current Thread [Next in Thread]