pub fn insert_m128i_to_m256i<const LANE: i32>(a: m256i, b: m128i) -> m256i
Available with target feature avx2 only.
Expand description

Inserts an m128i to an m256i at the high or low position.

let a = m256i::from([0_i32; 8]);
let b: [i32; 8] = insert_m128i_to_m256i::<1>(a, m128i::from([1, 2, 3, 4])).into();
assert_eq!(b, [0, 0, 0, 0, 1, 2, 3, 4]);