pub fn shuffle_ai_i16_h64half_m256i<const IMM: i32>(a: m256i) -> m256i
Available with target feature avx2 only.
Expand description

Shuffle the high i16 lanes in $a using an immediate control value.

The lower 128 bits and upper 128 bits have this performed separately.

let a = m256i::from([0_i16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]);
let b: [i16; 16] = shuffle_ai_i16_h64half_m256i::<0b_00_01_10_11>(a).into();
assert_eq!(b, [0, 1, 2, 3, 7, 6, 5, 4, 8, 9, 10, 11, 15, 14, 13, 12]);