mirror of
https://abf.rosa.ru/djam/zstd.git
synced 2025-02-23 17:32:54 +00:00
13 lines
581 B
Diff
13 lines
581 B
Diff
diff --git a/lib/common/compiler.h b/lib/common/compiler.h
|
|
index 95e9483..088afcf 100644
|
|
--- a/lib/common/compiler.h
|
|
+++ b/lib/common/compiler.h
|
|
@@ -139,7 +139,7 @@
|
|
|
|
/* vectorization
|
|
* older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax */
|
|
-#if !defined(__INTEL_COMPILER) && !defined(__clang__) && defined(__GNUC__)
|
|
+#if !defined(__INTEL_COMPILER) && !defined(__clang__) && defined(__GNUC__) && !defined(__LCC__)
|
|
# if (__GNUC__ == 4 && __GNUC_MINOR__ > 3) || (__GNUC__ >= 5)
|
|
# define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
|
|
# else
|