From: Vsevolod Stakhov Date: Thu, 9 Mar 2017 12:06:54 +0000 (+0000) Subject: [Minor] Fix SSE2 test instruction X-Git-Tag: 1.5.3~75 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0595514a1d587ec7ce8124ee8d67dde73b5bc929;p=rspamd.git [Minor] Fix SSE2 test instruction --- 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 */