Function _mm512_mask_set1_epi16

#[target_feature(enable = "avx512bw")]
pub const fn _mm512_mask_set1_epi16(src: __m512i, k: __mmask32, a: i16) -> __m512i

Broadcast 16-bit integer a to all elements of dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel's documentation