]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Clarify no-tree-vectorize usage for ICC and LCC 2725/head
authormakise-homura <akemi_homura@kurisa.ch>
Wed, 14 Jul 2021 17:00:44 +0000 (20:00 +0300)
committermakise-homura <akemi_homura@kurisa.ch>
Wed, 14 Jul 2021 17:00:44 +0000 (20:00 +0300)
lib/common/compiler.h

index a01c30cc191460d372aad2e2d2f0c0020bd78dee..012ff0221d9cb2808bbf969bd55fd844319d1022 100644 (file)
 }
 
 /* vectorization
- * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax */
+ * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax,
+ * and some compilers, like Intel ICC and MCST LCC, do not support it at all. */
 #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")))