clang-format remaining code, use __asm__ for avx2 port since we

insist on straight C99 without extensions (asm isn't special in
C99, __asm__ is)
pull/787/head
Rick V 5 years ago
parent 595b15d538
commit 294b98527d
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -7,7 +7,7 @@ typedef crypto_int32 int32;
static inline void
minmax(int32 *x, int32 *y)
{
asm("movl (%0),%%eax;movl (%1),%%ebx;cmpl %%ebx,%%eax;mov %%eax,%%edx;cmovg "
__asm__("movl (%0),%%eax;movl (%1),%%ebx;cmpl %%ebx,%%eax;mov %%eax,%%edx;cmovg "
"%%ebx,%%eax;cmovg %%edx,%%ebx;movl %%eax,(%0);movl %%ebx,(%1)"
:
: "r"(x), "r"(y)

Loading…
Cancel
Save