[][src]Function safe_arch::shl_i16_m256i

#[must_use]pub fn shl_i16_m256i(a: m256i, count: m128i) -> m256i
This is supported with target feature avx2 only.

Lanewise i16 shift left by the lower i64 lane of count.

let a =
  m256i::from([5_i16, 6, 2, 5, 4, 3, 1, 0, -12, 13, 56, 21, 8, 7, 6, 5]);
let count = m128i::from(1_i128);
let b: [i16; 16] = shl_i16_m256i(a, count).into();
assert_eq!(b, [10, 12, 4, 10, 8, 6, 2, 0, -24, 26, 112, 42, 16, 14, 12, 10]);