replace spurious avx512 requirement with fma check
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 26 Apr 2021 19:55:30 +0000 (21:55 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 19:55:30 +0000 (21:55 +0200)
kernel/x86_64/drot_microk_haswell-2.c

index 72a8769..cc5949b 100644 (file)
@@ -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 <immintrin.h>