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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Feb 13 14:20:32 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)                                    \
----------------
nickdesaulniers wrote:

Also sent https://github.com/llvm/llvm-project/pull/81678 which is inspired by this suggestion.

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


More information about the libc-commits mailing list