aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/platform_config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-08 12:01:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-08 12:01:40 +0100
commit3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e (patch)
tree24fec3f511ee2c510befec88365ee2a91f728b2d /src/libcryptobox/platform_config.h.in
parenta11b0abee850775231485d478a8f6e0d963ff6d1 (diff)
downloadrspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.tar.gz
rspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.zip
Check for SSE3, SSSE3 and SSE4.1 instructions.
Diffstat (limited to 'src/libcryptobox/platform_config.h.in')
-rw-r--r--src/libcryptobox/platform_config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcryptobox/platform_config.h.in b/src/libcryptobox/platform_config.h.in
index d109a7cd0..8feecb229 100644
--- a/src/libcryptobox/platform_config.h.in
+++ b/src/libcryptobox/platform_config.h.in
@@ -5,11 +5,17 @@
#cmakedefine HAVE_AVX2 1
#cmakedefine HAVE_AVX 1
#cmakedefine HAVE_SSE2 1
+#cmakedefine HAVE_SSE41 1
+#cmakedefine HAVE_SSE3 1
+#cmakedefine HAVE_SSSE3 1
#cmakedefine HAVE_SLASHMACRO 1
#cmakedefine HAVE_DOLLARMACRO 1
#define CPUID_AVX2 0x1
#define CPUID_AVX 0x2
#define CPUID_SSE2 0x4
+#define CPUID_SSE3 0x8
+#define CPUID_SSSE3 0x16
+#define CPUID_SSE41 0x32
#endif \ No newline at end of file