]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: use AVX2 and AVX512 for speedup
authorSam Russell <sam.h.russell@gmail.com>
Mon, 25 Nov 2024 23:25:00 +0000 (00:25 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 26 Nov 2024 18:01:54 +0000 (18:01 +0000)
commitdf71ac83436e6876f098495ea58f0df9ee7c31cd
tree965337416954bc9d4162a993c8fc787b99790783
parent205e7e4585910b256f4045ff7eae07d18baa69bf
cksum: use AVX2 and AVX512 for speedup

* configure.ac: Add checks for avx2 and avx512 support.
* src/cksum_avx2.c: AVX2 implementation.
* src/cksum_avx512.c: AVX512 implementation.
* src/local.mk: Add build flags for avx2 and avx512.
* src/cksum.c: Add avx2 and avx512 detection functions.
* src/cksum.h: Add avx2 and avx512 implementation declarations.
* NEWS: Mention the AVX2 and AVX512 improvement.
NEWS
configure.ac
src/cksum.c
src/cksum.h
src/cksum_avx2.c [new file with mode: 0644]
src/cksum_avx512.c [new file with mode: 0644]
src/local.mk