From 093638bee900ea264c40a5d0247710294f453b75 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 11 Jul 2026 00:19:56 +0600 Subject: [PATCH] crc64_clmul: Fix builds on Clang compilers `_mm_cvtsi64x_si128` is not defined on Clang's headers; use the normal name instead. --- src/crc64/crc64_clmul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crc64/crc64_clmul.c b/src/crc64/crc64_clmul.c index 664d202..5d040ee 100644 --- a/src/crc64/crc64_clmul.c +++ b/src/crc64/crc64_clmul.c @@ -121,7 +121,7 @@ AARU_EXPORT CLMUL uint64_t AARU_CALL aaruf_crc64_clmul(const uint64_t crc, const const __m128i data0 = _mm_blendv_epi8(_mm_setzero_si128(), _mm_load_si128(aligned_data), lead_in_mask); #if defined(_WIN64) - const __m128i initial_crc = _mm_cvtsi64x_si128(~crc); + const __m128i initial_crc = _mm_cvtsi64_si128(~crc); #else const __m128i initial_crc = _mm_set_epi64x(0, ~crc); #endif