]> 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-git@circlestorm.org>
Sat, 26 Jul 2025 18:37:09 +0000 (20:37 +0200)
commitf136e3c86b62e65e699ee8c99863f711693a6aec
treead09b43c7f6ec0a7cfd485e9dbfea7070bed5657
parentbd804414feffb7b29159c192c54c69808f8b659e
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