31 int memalign(
void **a_memptr,
size_t a_alignment,
size_t a_size);
42 #if CHDEF_SYSTEM_POPCNT_METHOD == 1 44 __asm__ (
"popcnt %1, %0" :
"=r" (ret) :
"r" (i));
48 i = i - ((i >> 1) & 0x55555555);
49 i = (i & 0x33333333) + ((i >> 2) & 0x33333333);
50 return (((i + (i >> 4)) & 0xF0F0F0F) * 0x1010101) >> 24;
int popcnt(unsigned i)
Definition: CH_System.H:40
Definition: CH_System.H:28
int memalign(void **a_memptr, size_t a_alignment, size_t a_size)
Allocate aligned memory.