Skip to content

Commit

Permalink
Merge pull request #2725 from makise-homura/mcst-lcc-support
Browse files Browse the repository at this point in the history
Add support for MCST LCC compiler
  • Loading branch information
Cyan4973 committed Jul 14, 2021
2 parents b3e372c + 3cd085c commit b18febe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/common/compiler.h
Expand Up @@ -150,8 +150,9 @@
}

/* vectorization
* older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax */
#if !defined(__INTEL_COMPILER) && !defined(__clang__) && defined(__GNUC__)
* 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")))
# else
Expand Down
2 changes: 1 addition & 1 deletion programs/zstdcli.c
Expand Up @@ -741,7 +741,7 @@ typedef enum { zom_compress, zom_decompress, zom_test, zom_bench, zom_train, zom
# define MAXCLEVEL ZSTD_maxCLevel()
#endif

int main(int const argCount, const char* argv[])
int main(int argCount, const char* argv[])
{
int argNb,
followLinks = 0,
Expand Down

0 comments on commit b18febe

Please sign in to comment.