Function shuffle_ai_i64_all_m256i
pub fn shuffle_ai_i64_all_m256i<const IMM: i32>(a: m256i) -> m256i
Available on crate feature
dep_safe_arch
only.Expand description
Shuffle the f64
lanes in $a
using an immediate control value.
let a = m256i::from([5_i64, 6, 7, 8]);
let b: [i64; 4] = shuffle_ai_i64_all_m256i::<0b00_01_10_11>(a).into();
assert_eq!(b, [8_i64, 7, 6, 5]);
- Intrinsic:
_mm256_permute4x64_epi64
- Assembly:
vpermq ymm, ymm, imm8