Browse Source

Remove spurious AVX512 requirement and add AVX2/FMA3 guard

tags/v0.3.14^2
Martin Kroeker GitHub 4 years ago
parent
commit
a9f6f7ad39
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      kernel/x86_64/srot_microk_haswell-2.c

+ 1
- 2
kernel/x86_64/srot_microk_haswell-2.c 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



Loading…
Cancel
Save