mirror of
https://github.com/facebook/zstd.git
synced 2025-09-01 04:42:03 +03:00
make __asm__ a __GNUC__ specific
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user