diff options
author | Marat Dukhan <maratek@gmail.com> | 2017-02-22 09:16:09 -0500 |
---|---|---|
committer | Marat Dukhan <maratek@gmail.com> | 2017-02-22 09:16:09 -0500 |
commit | c81e1a8f4dd39abc2c6689e3d26ce5b7d3c95615 (patch) | |
tree | 8f77d5fc1e494f97ea0239029a594423780684c0 /include | |
parent | 457042cd2b43670899bed644da29ab0c3a6141db (diff) | |
download | psimd-c81e1a8f4dd39abc2c6689e3d26ce5b7d3c95615.tar.gz |
Fix declaration of PSIMD_INTRINSIC
Diffstat (limited to 'include')
-rw-r--r-- | include/psimd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/psimd.h b/include/psimd.h index e3df2d1..1c94b82 100644 --- a/include/psimd.h +++ b/include/psimd.h @@ -10,10 +10,10 @@ #define PSIMD_INTRINSIC inline static #elif defined(__INTEL_COMPILER) /* Intel compiler, even on Windows */ - #define PSIMD_INTRINSIC inline static __attribute__((__always_inline__, __const__)) + #define PSIMD_INTRINSIC inline static __attribute__((__always_inline__)) #elif defined(__GNUC__) /* GCC-compatible compiler (gcc/clang/icc) */ - #define PSIMD_INTRINSIC inline static __attribute__((__always_inline__, __const__)) + #define PSIMD_INTRINSIC inline static __attribute__((__always_inline__)) #elif defined(_MSC_VER) /* MSVC-compatible compiler (cl/icl/clang-cl) */ #define PSIMD_INTRINSIC __forceinline static |