diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-27 23:12:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-27 23:12:54 +0300 |
commit | 3597522e3cb729603e03e96d9aa530e598b3cb99 (patch) | |
tree | 38211a50ac36128793dd15a8d161ab8e794bf301 /src | |
parent | 318b784bf19993b446049462c0ceeeb62cb8e843 (diff) | |
download | manaplus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.gz manaplus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.bz2 manaplus-3597522e3cb729603e03e96d9aa530e598b3cb99.tar.xz manaplus-3597522e3cb729603e03e96d9aa530e598b3cb99.zip |
Enable simd for kFreeBSD.
Diffstat (limited to 'src')
-rw-r--r-- | src/localconsts.h | 3 |
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 |