Function vec_genmask

Source
pub unsafe fn vec_genmask<const MASK: u16>() -> vector_unsigned_char
🔬This is a nightly-only experimental API. (stdarch_s390x #135681)
Available on s390x and target feature vector only.
Expand description

Generates byte masks for elements in the return vector. For each bit in a, if the bit is one, all bit positions in the corresponding byte element of d are set to ones. Otherwise, if the bit is zero, the corresponding byte element is set to zero.