From: Martin Kroeker Date: Mon, 26 Apr 2021 19:55:30 +0000 (+0200) Subject: replace spurious avx512 requirement with fma check X-Git-Tag: upstream/0.3.21~20^2~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d511f0e66a63887690e16487f0d9095221b794e;p=platform%2Fupstream%2Fopenblas.git replace spurious avx512 requirement with fma check --- diff --git a/kernel/x86_64/drot_microk_haswell-2.c b/kernel/x86_64/drot_microk_haswell-2.c index 72a8769..cc5949b 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