]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
polyval: use real pclmul intrinsics on clang.
authorNick Mathewson <nickm@torproject.org>
Thu, 15 May 2025 16:46:02 +0000 (12:46 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 May 2025 17:00:03 +0000 (13:00 -0400)
Modern clangs don't appear to have a problem with it.

src/ext/polyval/pclmul.c

index 09796979352695332e2ac7073e3349f6a2ccd810..21a0763b210dd5251498176b1d606c51a8d61c6d 100644 (file)
@@ -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)