Remove spurious AVX512 requirement and add AVX2/FMA3 guard

This commit is contained in:
Martin Kroeker 2021-03-06 14:35:49 +01:00 committed by GitHub
parent 93843c55b6
commit a9f6f7ad39
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