]> 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>
Thu, 7 Aug 2025 11:18:35 +0000 (13:18 +0200)
commit1a8c4152ff4bee7f4882aeed06f813b1871bd1c3
treead09b43c7f6ec0a7cfd485e9dbfea7070bed5657
parentf3747d2fd3e1b673d9c715fbd8dc9e242d281eba
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