Function _mm512_maskz_compress_epi32

#[target_feature(enable = "avx512f")]
pub fn _mm512_maskz_compress_epi32(k: __mmask16, a: __m512i) -> __m512i

Contiguously store the active 32-bit integers in a (those with their respective bit set in zeromask k) to dst, and set the remaining elements to zero.

Intel's documentation