summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/localconsts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index d237d93eb..9319405ca 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -140,9 +140,10 @@
#ifdef __x86_64__
#if !defined(__clang__) && defined(__GNUC__)
-#if GCC_VERSION >= 40700
+// gcc 4.8 look like support avx2, but need global define for enable any SIMD
+#if GCC_VERSION >= 40900
#define SIMD_SUPPORTED
-#endif // GCC_VERSION > 40700
+#endif // GCC_VERSION > 40900
#endif // !defined(__clang__) && defined(__GNUC__)
#endif // __x86_64__