athena_signal/kernels/dios_ssp_aec/dios_ssp_aec_tde/dios_ssp_aec_tde_delay_estimator.c
static int BitCount(unsigned int u32)
{
    u32 = (u32 & 0x55555555) + ((u32 >> 1) & 0x55555555);
    u32 = (u32 & 0x33333333) + ((u32 >> 2) & 0x33333333);
    u32 = (u32 & 0x0f0f0f0f) + ((u32 >> 4) & 0x0f0f0f0f);
    u32 = (u32 & 0x00ff00ff) + ((u32 >> 8) & 0x00ff00ff);
    u32 = (u32 & 0x0000ffff) + ((u32 >> 16) & 0x0000ffff);

    return ((int) u32);
}
// Counts and returns number of bits of a 32-bit word.
Counts and returns number of bits of a 32-bit word.
Counts and returns number of bits of a 32 - bit word .
static int BitCount(unsigned int u32)
{
    u32 = (u32 & 0x55555555) + ((u32 >> 1) & 0x55555555);
    u32 = (u32 & 0x33333333) + ((u32 >> 2) & 0x33333333);
    u32 = (u32 & 0x0f0f0f0f) + ((u32 >> 4) & 0x0f0f0f0f);
    u32 = (u32 & 0x00ff00ff) + ((u32 >> 8) & 0x00ff00ff);
    u32 = (u32 & 0x0000ffff) + ((u32 >> 16) & 0x0000ffff);
    return ((int) u32);
}
static int BitCount ( unsigned int u32 ) { u32 = ( u32 & 0x55555555 ) + ( ( u32 >> 1 ) & 0x55555555 ) ; u32 = ( u32 & 0x33333333 ) + ( ( u32 >> 2 ) & 0x33333333 ) ; u32 = ( u32 & 0x0f0f0f0f ) + ( ( u32 >> 4 ) & 0x0f0f0f0f ) ; u32 = ( u32 & 0x00ff00ff ) + ( ( u32 >> 8 ) & 0x00ff00ff ) ; u32 = ( u32 & 0x0000ffff ) + ( ( u32 >> 16 ) & 0x0000ffff ) ; return ( ( int ) u32 ) ; }
Counts and returns number of bits of a 32-bit word.
Counts and returns number of bits of a 32 - bit word .