-#if __GNUC__ >= 4
-static inline int
-popcount64(uint64_t n)
-{
- return __builtin_popcountll(n);
-}
-#else
-/* Defined using the 32-bit counterparts. */
-static inline int
-popcount64(uint64_t n)
-{
- return popcount(n) + popcount(n >> 32);
-}
-#endif
-