From 0595514a1d587ec7ce8124ee8d67dde73b5bc929 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 9 Mar 2017 12:06:54 +0000 Subject: [PATCH] [Minor] Fix SSE2 test instruction --- src/libcryptobox/cryptobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5