aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/cryptobox.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-09 12:06:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-09 12:07:12 +0000
commit0595514a1d587ec7ce8124ee8d67dde73b5bc929 (patch)
tree04b2f27f205b5a3512f189ac1e5cbf9b57fbbe69 /src/libcryptobox/cryptobox.c
parente0f78d9f32931f89488d7a6dff8b937408f6de5a (diff)
downloadrspamd-0595514a1d587ec7ce8124ee8d67dde73b5bc929.tar.gz
rspamd-0595514a1d587ec7ce8124ee8d67dde73b5bc929.zip
[Minor] Fix SSE2 test instruction
Diffstat (limited to 'src/libcryptobox/cryptobox.c')
-rw-r--r--src/libcryptobox/cryptobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c
index d0f89e37b..7fe1f5418 100644
--- a/src/libcryptobox/cryptobox.c
+++ b/src/libcryptobox/cryptobox.c
@@ -151,7 +151,7 @@ rspamd_cryptobox_test_instr (gint instr)
switch (instr) {
#ifdef HAVE_SSE2
case CPUID_SSE2:
- __asm__ volatile ("pmuludq %xmm0, %xmm0");
+ __asm__ volatile ("psubb %xmm0, %xmm0");
break;
case CPUID_RDRAND:
/* Use byte code here for compatibility */