diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 12:01:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 12:01:40 +0100 |
commit | 3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e (patch) | |
tree | 24fec3f511ee2c510befec88365ee2a91f728b2d /src/libcryptobox/CMakeLists.txt | |
parent | a11b0abee850775231485d478a8f6e0d963ff6d1 (diff) | |
download | rspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.tar.gz rspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.zip |
Check for SSE3, SSSE3 and SSE4.1 instructions.
Diffstat (limited to 'src/libcryptobox/CMakeLists.txt')
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 59e5133be..491d7f9b5 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -14,6 +14,9 @@ IF(${ARCH} STREQUAL "x86_64") ASM_OP(HAVE_AVX2 "vpaddq %ymm0, %ymm0, %ymm0" "avx2") ASM_OP(HAVE_AVX "vpaddq %xmm0, %xmm0, %xmm0" "avx") ASM_OP(HAVE_SSE2 "pmuludq %xmm0, %xmm0" "sse2") + ASM_OP(HAVE_SSE3 "lddqu 0(%esi), %xmm0" "sse3") + ASM_OP(HAVE_SSSE3 "pshufb %xmm0, %xmm0" "ssse3") + ASM_OP(HAVE_SSE41 "pblendw \$0, %xmm0, %xmm0" "sse41") ASM_OP(HAVE_SLASHMACRO " .macro TEST1 op |