From 3d511f0e66a63887690e16487f0d9095221b794e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 26 Apr 2021 21:55:30 +0200 Subject: [PATCH] replace spurious avx512 requirement with fma check --- kernel/x86_64/drot_microk_haswell-2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/x86_64/drot_microk_haswell-2.c b/kernel/x86_64/drot_microk_haswell-2.c index 72a87696e..cc5949b1a 100644 --- a/kernel/x86_64/drot_microk_haswell-2.c +++ b/kernel/x86_64/drot_microk_haswell-2.c @@ -1,6 +1,4 @@ -/* need a new enough GCC for avx512 support */ -#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) - +#if defined(HAVE_FMA3) && defined(HAVE_AVX2) #define HAVE_DROT_KERNEL 1 #include