Use target avx512f,avx512bw

Appears to fix gcc build
This commit is contained in:
2024-08-02 21:47:23 -07:00
parent 0e574856be
commit 8f03a105bb
+1 -1
View File
@@ -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;