]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Clean up SSE4.2 support, and no longer use asm fallback or gcc builtin.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Fri, 21 Jul 2023 11:43:15 +0000 (13:43 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 6 Aug 2023 08:17:24 +0000 (10:17 +0200)
commit2167377c46e1a1a117e97573dc8acdc95c2ec85e
treed1d230189c95959592f6a54e396714b24dbd7c43
parentf0937b8a58be4dae44b6f2dcad6430838a41b74f
Clean up SSE4.2 support, and no longer use asm fallback or gcc builtin.

Defines changing meaning:
X86_SSE42 used to mean the compiler supports crc asm fallback.
X86_SSE42_CRC_INTRIN used to mean compiler supports SSE4.2 intrinsics.

X86_SSE42 now means compiler supports SSE4.2 intrinsics.

This therefore also fixes the adler32_sse42 checks, since those were depending
on SSE4.2 intrinsics but was mistakenly checking the X86_SSE42 define.
Now the X86_SSE42 define actually means what it appears to.
CMakeLists.txt
arch/x86/insert_string_sse42.c
cmake/detect-intrinsics.cmake
configure
win32/Makefile.msc