From: Nick Mathewson Date: Thu, 15 May 2025 16:46:02 +0000 (-0400) Subject: polyval: use real pclmul intrinsics on clang. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5054b1e8e291e26e41b9f95a62d0cae179738761;p=thirdparty%2Ftor.git polyval: use real pclmul intrinsics on clang. Modern clangs don't appear to have a problem with it. --- diff --git a/src/ext/polyval/pclmul.c b/src/ext/polyval/pclmul.c index 0979697935..21a0763b21 100644 --- a/src/ext/polyval/pclmul.c +++ b/src/ext/polyval/pclmul.c @@ -72,7 +72,7 @@ BR_TARGETS_X86_UP * We use a target of "sse2" only, so that Clang may still handle the * '__m128i' type and allocate SSE2 registers. */ -#ifdef __clang__ +#ifdef __clang__AND_NOT_WORKING BR_TARGET("sse2") static inline __m128i pclmulqdq00(__m128i x, __m128i y)