aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/psimd.h4
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