pub unsafe fn _mm256_maskz_popcnt_epi64(k: __mmask8, a: __m256i) -> __m256i
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on (x86 or x86-64) and target feature avx512vpopcntdq,avx512vl and x86-64 only.
Expand description

对于每个包装的 64 位整数 maps,该值均等于逻辑 1 位的数量。

使用 k 中的写掩码 - 如果未设置相应的掩码位,则结果中的元素为零。 否则,将计算结果写入结果中。

Intel’s documentation