]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Continued cleanup of old UNALIGNED_OK checks
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Fri, 20 Dec 2024 22:31:37 +0000 (23:31 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 26 Dec 2024 21:14:46 +0000 (22:14 +0100)
commitbf05e882b807e35ab4d4ac2b6456bd380d68f67d
tree22dd49a224cc42b15cdc6f4217f784d7e9ad3e09
parent1aeb2915a0d793c549be1691c9c99977265b220f
Continued cleanup of old UNALIGNED_OK checks
- Remove obsolete checks
- Fix checks that are inconsistent
- Stop compiling compare256/longest_match variants that never gets called
- Improve how the generic compare256 functions are handled.
- Allow overriding OPTIMAL_CMP

This simplifies the code and avoids having a lot of code in the compiled library than can never get executed.
15 files changed:
CMakeLists.txt
arch/generic/Makefile.in
arch/generic/compare256_c.c
arch/generic/compare256_p.h [new file with mode: 0644]
arch/generic/generic_functions.h
compare256_rle.h
deflate_rle.c
functable.c
match_tpl.h
test/benchmarks/benchmark_compare256.cc
test/benchmarks/benchmark_compare256_rle.cc
test/test_compare256.cc
test/test_compare256_rle.cc
zbuild.h
zmemory.h