Function _mm512_mask_permute_pd

#[target_feature(enable = "avx512f")]
pub const fn _mm512_mask_permute_pd(src: __m512d, k: __mmask8, a: __m512d, MASK: i32) -> __m512d

Shuffle double-precision (64-bit) floating-point elements in a within 128-bit lanes using the control in imm8, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel's documentation