From ff13652a785faa8e328481f3dcff59d453fe406d Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Thu, 29 May 2025 07:14:23 +0000 Subject: [PATCH] AVX512 loads need to be 64-bit aligned, caused a crash on clang-18 --- src/fdr/teddy_fat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdr/teddy_fat.cpp b/src/fdr/teddy_fat.cpp index f9ff4119..f351008c 100644 --- a/src/fdr/teddy_fat.cpp +++ b/src/fdr/teddy_fat.cpp @@ -100,7 +100,7 @@ const m512 *getDupMaskBase(const struct Teddy *teddy, u8 numMask) { } -const u8 ALIGN_AVX_DIRECTIVE p_mask_interleave[64] = { +const u8 ALIGN_CL_DIRECTIVE p_mask_interleave[64] = { 0, 32, 1, 33, 2, 34, 3, 35, 4, 36, 5, 37, 6, 38, 7, 39, 8, 40, 9, 41, 10, 42, 11, 43, 12, 44, 13, 45, 14, 46, 15, 47, 16, 48, 17, 49, 18, 50, 19, 51, 20, 52, 21, 53, 22, 54, 23, 55,