]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Unroll some of the adler checksum for avx2
authorAdam Stylinski <kungfujesus06@gmail.com>
Sat, 16 Aug 2025 20:04:30 +0000 (16:04 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 20 Aug 2025 11:50:56 +0000 (13:50 +0200)
commit24821a55c180a3541a51f062f1664736e9cb3d59
treec6248c028d6717fe8f21d8f7a70f4b4408aebd7b
parentf8bcae0d8d15284a87322f3cebf6d794bedf64be
Unroll some of the adler checksum for avx2

Similar to what's done for vmx, avx512, and sse4, let's unroll some
of this checksum since it's a commutative checksum. We take advantage
of ILP and do more intermediate sums before rolling them back together
for the finalization of the checksum.
arch/x86/adler32_avx2.c