]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove inert comment about disabling Chorba SSE in X86 functions header
authorNathan Moin Vaziri <nathan@nathanm.com>
Sat, 18 Apr 2026 21:16:40 +0000 (14:16 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 22 Apr 2026 09:40:20 +0000 (11:40 +0200)
This was never correct, it should have been WITHOUT_CHORBA_SSE not NO_CHORBA_SSE

arch/x86/x86_functions.h

index e187e21d2b25c63c99dc31839398db2eb08b5181..7e266af1172f6a5c6ea9cd3eb18a0c853a960411 100644 (file)
@@ -8,14 +8,6 @@
 
 #include "x86_natives.h"
 
-/* So great news, your compiler is broken and causes stack smashing. Rather than
- * notching out its compilation we'll just remove the assignment in the functable.
- * Further context:
- * https://developercommunity.visualstudio.com/t/Stack-corruption-with-v142-toolchain-whe/10853479 */
-#if defined(_MSC_VER) && defined(ARCH_32BIT) && _MSC_VER >= 1920 && _MSC_VER <= 1929
-#define NO_CHORBA_SSE
-#endif
-
 #ifdef X86_SSE2
 uint8_t* chunkmemset_safe_sse2(uint8_t *out, uint8_t *from, size_t len, size_t left);
 uint32_t compare256_sse2(const uint8_t *src0, const uint8_t *src1);