From: Bimba Shrestha Date: Thu, 5 Mar 2020 18:02:48 +0000 (-0800) Subject: Removing no-tree-vectorize for intel X-Git-Tag: v1.4.5^2~80^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d0efd619a03a25d7ae1c95400f2580c7e5b7f3;p=thirdparty%2Fzstd.git Removing no-tree-vectorize for intel --- diff --git a/lib/common/compiler.h b/lib/common/compiler.h index 228845aa9..4213dfcf3 100644 --- a/lib/common/compiler.h +++ b/lib/common/compiler.h @@ -136,7 +136,7 @@ /* vectorization * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax */ -#if !defined(__clang__) && defined(__GNUC__) +#if !defined(__INTEL_COMPILER) && !defined(__clang__) && defined(__GNUC__) # if (__GNUC__ == 4 && __GNUC_MINOR__ > 3) || (__GNUC__ >= 5) # define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize"))) # else