]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Removing no-tree-vectorize for intel 2030/head
authorBimba Shrestha <bimbashrestha@fb.com>
Thu, 5 Mar 2020 18:02:48 +0000 (10:02 -0800)
committerBimba Shrestha <bimbashrestha@fb.com>
Thu, 5 Mar 2020 18:02:48 +0000 (10:02 -0800)
lib/common/compiler.h

index 228845aa923c796bdaafcc227f8a52407b5c197d..4213dfcf3615672a098627bec7b4297e4203a83c 100644 (file)
 
 /* 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