fix zstd_decompress.c

- the function _mm_prefetch() is not defined for ia64 builds
- disable _mm_prefetch() for this architecture
This commit is contained in:
Tino Reichardt
2017-06-18 14:09:40 +02:00
parent dba1d04108
commit 9ac1921f80

View File

@@ -53,8 +53,7 @@
# include "zstd_legacy.h"
#endif
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_M_IA64)
# include <mmintrin.h> /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */
# define ZSTD_PREFETCH(ptr) _mm_prefetch((const char*)ptr, _MM_HINT_T0)
#elif defined(__GNUC__)