forked from weaselab/conflict-set
Only set HAS_AVX for x86_64
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(USE_SIMD_FALLBACK) && defined(__has_include)
|
#if !defined(USE_SIMD_FALLBACK) && defined(__has_include)
|
||||||
#if __has_include("immintrin.h")
|
#if defined(__x86_64__) && __has_include("immintrin.h")
|
||||||
#define HAS_AVX 1
|
#define HAS_AVX 1
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#elif __has_include("arm_neon.h")
|
#elif __has_include("arm_neon.h")
|
||||||
|
|||||||
Reference in New Issue
Block a user