commit 5054b1e8e291e26e41b9f95a62d0cae179738761
parent 40f3eaeb4607fa45a9c599c2a55646ace2a74a0c
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 15 May 2025 12:46:02 -0400
polyval: use real pclmul intrinsics on clang.
Modern clangs don't appear to have a problem with it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)