std::intrinsics::simd

Function simd_ctpop

Source
pub unsafe extern "rust-intrinsic" fn simd_ctpop<T>(x: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Counts the number of ones in each element.

T must be a vector of integers.