]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Disable MSVC optimizations for AVX512 GET_CHUNK_MAG #1883
authorNathan Moinvaziri <nathan@nathanm.com>
Fri, 7 Mar 2025 03:03:11 +0000 (19:03 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 26 Mar 2025 19:06:38 +0000 (20:06 +0100)
commitd0652423c1d444ec6256c05a1ea805640cc2d337
tree505aced3a2e4193126142651adef7b7c4d7b75f5
parentfd0d263cedab1a136f40d65199987e3eaeecfcbd
Disable MSVC optimizations for AVX512 GET_CHUNK_MAG #1883

MSVC compiler (VS 17.11.x) incorrectly optimizes the GET_CHUNK_MAG code on
older versions. Appears to be resolved in VS 17.13.2. The compiler would
optimize the code in such a way that it would cause a decompression failure.
It only happens when /Os flag is set.
arch/x86/chunkset_avx512.c