[libc-commits] [libc] [libc][support][UInt] implement 128b math helpers (PR #86531)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Mar 25 11:02:54 PDT 2024
================
@@ -242,6 +242,14 @@ LIBC_INLINE constexpr To bit_or_static_cast(const From &from) {
/// Count number of 1's aka population count or Hamming weight.
///
/// Only unsigned integral types are allowed.
+// clang-19+, gcc-14+
+#if __has_builtin(__builtin_popcountg)
----------------
nickdesaulniers wrote:
Filed https://github.com/llvm/llvm-project/issues/86546
https://github.com/llvm/llvm-project/pull/86531
More information about the libc-commits
mailing list