From 9ac1921f80e1b96dd6a83707bb981a6afdd2f0b5 Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Sun, 18 Jun 2017 14:09:40 +0200 Subject: [PATCH] fix zstd_decompress.c - the function _mm_prefetch() is not defined for ia64 builds - disable _mm_prefetch() for this architecture --- C/zstd/zstd_decompress.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C/zstd/zstd_decompress.c b/C/zstd/zstd_decompress.c index 910f9ab7..906dcbad 100644 --- a/C/zstd/zstd_decompress.c +++ b/C/zstd/zstd_decompress.c @@ -53,8 +53,7 @@ # include "zstd_legacy.h" #endif - -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(_M_IA64) # include /* 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__)