From 85d0efd619a03a25d7ae1c95400f2580c7e5b7f3 Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Thu, 5 Mar 2020 10:02:48 -0800 Subject: [PATCH] Removing no-tree-vectorize for intel --- lib/common/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/compiler.h b/lib/common/compiler.h index 228845aa..4213dfcf 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