Function safe_arch::permute2z_m256i

source ·
pub fn permute2z_m256i<const MASK: i32>(a: m256i, b: m256i) -> m256i
Available with target feature avx only.
Expand description

Slowly swizzle 128 bits of integer data from a and b using an immediate control value.

Each output selection is 4-bit wide, if 1000 is passed, that output is zeroed instead of picking from a or b.

If avx2 is available you should use shuffle_abi_i128z_all_m256i instead. Only use this if you’re targeting avx but not avx2.