From 8f03a105bb8daaa7bfce8d4a41d6cc7f3dc77c57 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 2 Aug 2024 21:47:23 -0700 Subject: [PATCH] Use target avx512f,avx512bw Appears to fix gcc build --- ConflictSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 16b3000..555e65e 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -1676,7 +1676,7 @@ int firstNeqStride(const uint8_t *ap, const uint8_t *bp) { // This gets covered in local development // GCOVR_EXCL_START #if defined(HAS_AVX) && !defined(__SANITIZE_THREAD__) -__attribute__((target("avx512bw"))) int +__attribute__((target("avx512f,avx512bw"))) int longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) { int i = 0; int end = cl & ~63;