]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Call adler32_c directly in adler32_copy_c scalar fallback
authorNathan Moinvaziri <nathan@nathanm.com>
Tue, 17 Mar 2026 02:03:25 +0000 (19:03 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 1 May 2026 12:34:00 +0000 (14:34 +0200)
commit7fe648e89172a45a09b807a16e6c157e5e2cf0f3
tree62cd557493506d909a9f3b835e038a49fefc0805
parent829dd1af6d69c98fb1c10781b2374e49269bade7
Call adler32_c directly in adler32_copy_c scalar fallback

The generic copy function was calling through the function
table, which dispatched to the best SIMD implementation
instead of the scalar path. This led to incorrect benchmarks
for adler32_copy/c since it measured the SIMD path rather
than the scalar fallback. Call adler32_c directly so the
scalar copy variant actually exercises the scalar checksum.
arch/generic/adler32_c.c