summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-08-08 20:09:36 +0000
committerWarner Losh <imp@FreeBSD.org>2019-08-08 20:09:36 +0000
commit5e34c4c5052cbae16e6da01f42942c1db9de0c38 (patch)
treebc652130cb35cd861cc08c9254d06b5975ceb33f
parent6b1bc6f7dd38a5693c4000670e4179edc6dd7d5f (diff)
Notes
-rw-r--r--sys/contrib/zstd/lib/common/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/zstd/lib/common/compiler.h b/sys/contrib/zstd/lib/common/compiler.h
index 87bf51ae8c89..0405cf692cb8 100644
--- a/sys/contrib/zstd/lib/common/compiler.h
+++ b/sys/contrib/zstd/lib/common/compiler.h
@@ -128,7 +128,7 @@
}
/* vectorization */
-#if !defined(__clang__) && defined(__GNUC__)
+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ > 5
# define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
#else
# define DONT_VECTORIZE