mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
add BUILD_AVX2 definition, enable non-AVX2 building selectively
This commit is contained in:
committed by
Konstantinos Margaritis
parent
c078d355b6
commit
814045201f
@@ -48,12 +48,12 @@
|
||||
#define HAVE_SIMD_128_BITS
|
||||
#endif
|
||||
|
||||
#if defined(__AVX__)
|
||||
#if defined(__AVX__) && defined(BUILD_AVX2)
|
||||
#define HAVE_AVX
|
||||
#define HAVE_SIMD_256_BITS
|
||||
#endif
|
||||
|
||||
#if defined(__AVX2__)
|
||||
#if defined(__AVX2__) && defined(BUILD_AVX2)
|
||||
#define HAVE_AVX2
|
||||
#define HAVE_SIMD_256_BITS
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user