Searched refs:__builtin_popcount (Results 1 – 25 of 30) sorted by relevance
12
133 char popcount1[__builtin_popcount(0) == 0 ? 1 : -1];134 char popcount2[__builtin_popcount(0xF0F0) == 8 ? 1 : -1];135 char popcount3[__builtin_popcount(~0) == BITSIZE(int) ? 1 : -1];136 char popcount4[__builtin_popcount(~0L) == BITSIZE(int) ? 1 : -1];
33 return __builtin_popcount(__A); in _mm_popcnt_u32()39 return __builtin_popcount(__A); in _popcnt32()
519 return __builtin_popcount((int)_Value); in __popcnt16()523 return __builtin_popcount(_Value); in __popcnt()
22 #define __builtin_popcount(x) __popcnt4(x) macro27 #define __builtin_popcountl(x) __builtin_popcount(x)
58 #define COMPILER_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))131 return __builtin_popcount(static_cast<unsigned>(value));
79 _LIBCPP_ALWAYS_INLINE int __builtin_popcount(unsigned int x) in __builtin_popcount() function101 return __builtin_popcount(static_cast<int>(x)); in __builtin_popcountl()
17 pop = __builtin_popcount(P); in test_i32()
86 #define POPCNT_U32(x) __builtin_popcount(x)
122 result += __builtin_popcount(mask_[nn]); in GetCount()
71 #define POPCNT_U32(x) __builtin_popcount(x)
119 #define POPCNT_U32(x) __builtin_popcount(x)
178 for (auto x : CounterBitmap) Res += __builtin_popcount(x); in TotalBits()
51 __builtin_popcount(UInt x) in __builtin_popcount() function
24 return __builtin_popcount(value); in CountPopulation32()
226 # define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
833 AC_CACHE_CHECK([for __builtin_popcount], [st_cv_have___builtin_popcount],834 [AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_popcount(0)])],839 [Define to 1 if the system provides __builtin_popcount function])
146 count += __builtin_popcount(x); in popcount32()
627 return __builtin_popcount(n); in util_bitcount()
330 return __builtin_popcount(list->mask); in cpulist_count()
581 #define _mesa_bitcount(i) __builtin_popcount(i)
420 return __builtin_popcount(Value);
350 return __builtin_popcount(list->mask); in cpulist_count()
26 ((value >> __builtin_ctz(mask)) & (((1 << __builtin_popcount(mask))) - 1))
309 return __builtin_popcount (mask); in _hb_popcount32()
3824 # Check for __builtin_popcount3825 AC_MSG_CHECKING([for __builtin_popcount()])3828 __builtin_popcount(2);3833 [Define to 1 if compiler provides __builtin_popcount().])