[libc-commits] [libc] [libc][stdbit] implement stdc_first_trailing_zero (C23) (PR #81526)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Feb 13 00:16:26 PST 2024


================
@@ -268,6 +268,65 @@ SPECIALIZE_FLZ(first_leading_zero, unsigned long long, __builtin_clzll)
 
 #undef SPECIALIZE_FLZ
 
+#define SPECIALIZE_FLO(NAME, TYPE, BUILTIN)                                    \
----------------
gchatelet wrote:

I think there is no need for the specializations here because `countr_zero` and `countl_zero` themselves are already specialized.

https://github.com/llvm/llvm-project/pull/81526


More information about the libc-commits mailing list