Merge pull request #3130 from martin-frbg/issue3128

Replace spurious AVX512 requirement in the Haswell srot microkernel with an AVX2/FMA3 guard
This commit is contained in:
Martin Kroeker 2021-03-06 19:15:53 +01:00 committed by GitHub
commit ef0238ba2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +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_SROT_KERNEL 1