Преглед изворни кода

Merge pull request #3967 from a16bitsysop/386

[Fix] Further fix for i386 compilation
tags/3.2
Vsevolod Stakhov пре 2 година
родитељ
комит
9766a457eb
No account linked to committer's email address
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      src/libcryptobox/cryptobox.c

+ 2
- 2
src/libcryptobox/cryptobox.c Прегледај датотеку

@@ -118,7 +118,7 @@ rspamd_cryptobox_test_instr (gint instr)
}

switch (instr) {
#ifdef HAVE_SSE2
#if defined HAVE_SSE2 && defined (__x86_64__)
case CPUID_SSE2:
__asm__ volatile ("psubb %xmm0, %xmm0");
break;
@@ -146,7 +146,7 @@ rspamd_cryptobox_test_instr (gint instr)
__asm__ volatile ("pcmpeqq %xmm0, %xmm0");
break;
#endif
#ifdef HAVE_SSE42
#if defined HAVE_SSE42 && defined(__x86_64__)
case CPUID_SSE42:
__asm__ volatile ("pushq %rax\n"
"xorq %rax, %rax\n"

Loading…
Откажи
Сачувај