Skip to main content

## vec_popcnt

# Function vec_popcnt

Source

    pub unsafe fn vec_popcnt<T: CountBits>(a: T) -> T::Result

🔬This is a nightly-only experimental API. (`stdarch_s390x` #135681)
Available on s390x and non-`target_abi=softfloat` and target feature `vector` only.
Expand description

Vector Population Count

Computes the population count (number of set bits) in each element of the input.