mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 08:33:38 +03:00
bit_util: Guarantee popcount's presence.
Implement popcount generically, so that we can rely on it being present.
This commit is contained in:
parent
d9f7e6c668
commit
734e72ce8f
3 changed files with 167 additions and 4 deletions
|
|
@ -1594,6 +1594,7 @@ JE_COMPILABLE([a program using __builtin_popcountl], [
|
|||
if test "x${je_cv_gcc_builtin_popcountl}" = "xyes" ; then
|
||||
AC_DEFINE([JEMALLOC_INTERNAL_POPCOUNT], [__builtin_popcount])
|
||||
AC_DEFINE([JEMALLOC_INTERNAL_POPCOUNTL], [__builtin_popcountl])
|
||||
AC_DEFINE([JEMALLOC_INTERNAL_POPCOUNTLL], [__builtin_popcountll])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([lg_quantum],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue