Home
last modified time | relevance | path

Searched refs:__builtin_popcount (Results 1 – 21 of 21) sorted by relevance

/freebsd/lib/libc/stdbit/
H A Dstdc_count_ones.c13 return (__builtin_popcount(x)); in stdc_count_ones_uc()
19 return (__builtin_popcount(x)); in stdc_count_ones_us()
25 return (__builtin_popcount(x)); in stdc_count_ones_ui()
H A Dstdc_count_zeros.c13 return (__builtin_popcount(x ^ UCHAR_MAX)); in stdc_count_zeros_uc()
19 return (__builtin_popcount(x ^ USHRT_MAX)); in stdc_count_zeros_us()
25 return (__builtin_popcount(~x)); in stdc_count_zeros_ui()
/freebsd/sys/sys/
H A Dbitcount.h66 #define __bitcount32(x) __builtin_popcount((__uint32_t)(x))
67 #define __bitcount16(x) __builtin_popcount((__uint16_t)(x))
69 #define __bitcount(x) __builtin_popcount((unsigned int)(x))
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dbit.h287 ADD_SPECIALIZATION(unsigned char, __builtin_popcount)
288 ADD_SPECIALIZATION(unsigned short, __builtin_popcount)
289 ADD_SPECIALIZATION(unsigned, __builtin_popcount)
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__bit/
H A Dpopcount.h28 …CPP_HIDE_FROM_ABI int __libcpp_popcount(unsigned __x) _NOEXCEPT { return __builtin_popcount(__x); } in __libcpp_popcount()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dpopcntintrin.h36 return __builtin_popcount(__A); in _mm_popcnt_u32()
H A Dia32intrin.h211 return __builtin_popcount(__A); in __popcntd()
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h243 #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount
/freebsd/contrib/llvm-project/libcxx/include/__bit/
H A Dpopcount.h28 return __builtin_popcount(static_cast<unsigned int>(__t)); in __popcount_impl()
/freebsd/sys/contrib/ck/include/gcc/
H A Dck_cc.h147 return __builtin_popcount(x); in ck_cc_popcount()
/freebsd/crypto/openssh/
H A Dmlkem768.sh110 __builtin_popcount(unsigned int num)
H A Dlibcrux_mlkem768_sha3.h92 __builtin_popcount(unsigned int num) in __builtin_popcount() function
390 return __builtin_popcount(x0); in core_num__u8__count_ones()
398 return __builtin_popcount(x0); in core_num__i32__count_ones()
H A Dconfigure.ac2297 AC_MSG_CHECKING([whether compiler supports __builtin_popcount])
2302 y = __builtin_popcount(123);
2306 AC_DEFINE([MISSING_BUILTIN_POPCOUNT], [1], [Define if your compiler lacks __builtin_popcount])
H A DChangeLog2229 upstream: sync support for systems that lack __builtin_popcount() from
6763 include __builtin_popcount replacement function
6765 Some systems/compilers lack __builtin_popcount(), so replace it as
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_shadow.h90 : __builtin_popcount(part_.access_); in GetAccess()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h310 return (int)__builtin_popcount(Value); in popcount()
/freebsd/contrib/llvm-project/libunwind/src/
H A DCompactUnwinder.hpp25 ((value >> __builtin_ctz(mask)) & (((1 << __builtin_popcount(mask))) - 1))
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c18 ((value >> __builtin_ctz(mask)) & (((1 << __builtin_popcount(mask))) - 1))
/freebsd/crypto/krb5/src/util/verto/
H A Dev.c919 && ECB_CLANG_BUILTIN(__builtin_popcount))
925 #define ecb_popcount32(x) __builtin_popcount (x)
/freebsd/contrib/jemalloc/
H A Dconfigure.ac1665 AC_DEFINE([JEMALLOC_INTERNAL_POPCOUNT], [__builtin_popcount], [ ])
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td730 let Spellings = ["__builtin_popcount"];