[][src]Macro safe_arch::insert_m128_to_m256

macro_rules! insert_m128_to_m256 {
    ($a:expr, $b:expr, $imm:expr) => { ... };
}
This is supported with target feature avx only.

Inserts an m128 to m256

let a = m256::from([0.0; 8]);
let b: [f32; 8] =
  insert_m128_to_m256!(a, m128::from([1.0, 2.0, 3.0, 4.0]), 1).to_array();
assert_eq!(b, [0.0, 0.0, 0.0, 0.0, 1.0, 2.0, 3.0, 4.0]);