mirror of
https://github.com/facebook/zstd.git
synced 2025-09-04 02:42:09 +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;
|
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 */
|
/* force ordering of these tests, which matters once the function is inlined, as they become branches */
|
||||||
|
#if defined(__GNUC__)
|
||||||
__asm__("");
|
__asm__("");
|
||||||
|
#endif
|
||||||
return currentIdx >= lowLimit;
|
return currentIdx >= lowLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user