mirror of
https://github.com/facebook/zstd.git
synced 2025-10-04 00:02:33 -04:00
Clarify no-tree-vectorize usage for ICC and LCC
This commit is contained in:
parent
a5f518ae27
commit
3cd085cec3
@ -150,7 +150,8 @@
|
||||
}
|
||||
|
||||
/* 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")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user