]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix SSE2 test instruction
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Mar 2017 12:06:54 +0000 (12:06 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Mar 2017 12:07:12 +0000 (12:07 +0000)
src/libcryptobox/cryptobox.c

index d0f89e37b9c0dcef898d14660b58478677b93648..7fe1f54180176a107d287e3112136e5bdb119594 100644 (file)
@@ -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 */