pub fn shuffle_ai_i16_l64all_m128i<const MASK: i32>(a: m128i) -> m128i
Available with target feature sse2 only.
Expand description

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

let a = m128i::from([1_i16, 2, 3, 4, 5, 6, 7, 8]);
//
let c = shuffle_ai_i16_l64all_m128i::<0b01_11_10_00>(a);
assert_eq!(<[i16; 8]>::from(c), [1_i16, 3, 4, 2, 5, 6, 7, 8]);