Function permute2z_m256i
pub fn permute2z_m256i<const MASK: i32>(a: m256i, b: m256i) -> m256i
Available on crate feature
dep_safe_arch
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
.
- Intrinsic:
_mm256_permute2f128_si256
- Assembly:
vperm2f128 ymm, ymm, ymm, imm8