From: Yann Collet Date: Tue, 8 Oct 2024 23:38:35 +0000 (-0700) Subject: make __asm__ a __GNUC__ specific X-Git-Tag: v1.5.7^2~76^2~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d45aee43f4b1ac8ee0fbb182310b9b7622f85d1c;p=thirdparty%2Fzstd.git make __asm__ a __GNUC__ specific --- diff --git a/lib/compress/zstd_fast.c b/lib/compress/zstd_fast.c index 5bac5d9cf..d4b8f0672 100644 --- a/lib/compress/zstd_fast.c +++ b/lib/compress/zstd_fast.c @@ -118,7 +118,9 @@ ZSTD_match4Found_cmov(const BYTE* currentPtr, const BYTE* matchAddress, U32 curr */ if (MEM_read32(currentPtr) != MEM_read32(mvalAddr)) return 0; /* force ordering of these tests, which matters once the function is inlined, as they become branches */ +#if defined(__GNUC__) __asm__(""); +#endif return currentIdx >= lowLimit; }