summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-27 23:12:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-27 23:12:54 +0300
commit3597522e3cb729603e03e96d9aa530e598b3cb99 (patch)
tree38211a50ac36128793dd15a8d161ab8e794bf301 /src/localconsts.h
parent318b784bf19993b446049462c0ceeeb62cb8e843 (diff)
downloadplus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.gz
plus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.bz2
plus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.xz
plus-3597522e3cb729603e03e96d9aa530e598b3cb99.zip
Enable simd for kFreeBSD.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index d858a794b..b1318e7ef 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -139,13 +139,10 @@
#endif // ENABLE_CILKPLUS
#ifdef __x86_64__
-// not for FreeBSD
-#if !defined(__FreeBSD_kernel__) || !defined(__GLIBC__)
// 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 > 40900
-#endif // !defined(__FreeBSD_kernel__) || !defined(__GLIBC__)
#if defined(__clang__) && CLANG_VERSION >= 30600
#define SIMD_SUPPORTED
#endif // defined(__clang__) && CLANG_VERSION >= 30600