mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
bit_util: Guarantee popcount's presence.
Implement popcount generically, so that we can rely on it being present.
This commit is contained in:
committed by
David Goldblatt
parent
d9f7e6c668
commit
734e72ce8f
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user