by ItsRainingBits · 4y ago · 0 comments
0: https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/...
I would expect the linked code is just intended as a quick poc, so it does not bother to be optimal.
(Overlapping is indeed cool where it works - idempotent operations.)
Only for "classical" SIMD, ARM SVE2 show a way to solve this issue cleanly. Not sure where you can use SVE2 though..