24 #ifndef _POPCNTINTRIN_H 25 #define _POPCNTINTRIN_H 28 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt"))) 43 return __builtin_popcount(__A);
59 return __builtin_popcount(__A);
74 _mm_popcnt_u64(
unsigned long long __A)
76 return __builtin_popcountll(__A);
90 _popcnt64(
long long __A)
92 return __builtin_popcountll(__A);
96 #undef __DEFAULT_FN_ATTRS static __inline__ int __DEFAULT_FN_ATTRS _popcnt32(int __A)
Counts the number of bits in the source operand having a value of 1.
static __inline__ int __DEFAULT_FN_ATTRS _mm_popcnt_u32(unsigned int __A)
Counts the number of bits in the source operand having a value of 1.
#define __DEFAULT_FN_ATTRS