mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
cdfe62f303
This will includes at least [1]. [1]: https://github.com/ridiculousfish/libdivide/pull/94 v2: Define LIBDIVIDE_* macros mutually exclusive Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
10 lines
290 B
C++
10 lines
290 B
C++
#if defined(__SSE2__)
|
|
# define LIBDIVIDE_SSE2
|
|
#elif defined(__AVX512F__) || defined(__AVX512BW__) || defined(__AVX512VL__)
|
|
# define LIBDIVIDE_AVX512
|
|
#elif defined(__AVX2__)
|
|
# define LIBDIVIDE_AVX2
|
|
#elif defined(__aarch64__) && defined(__ARM_NEON)
|
|
# define LIBDIVIDE_NEON
|
|
#endif
|