[][src]Function safe_arch::cast_to_m128i_from_m256i

#[must_use]pub fn cast_to_m128i_from_m256i(a: m256i) -> m128i
This is supported with target feature avx only.

Bit-preserving cast to m128i from m256i.

let a = m256i::from([1, 2, 3, 4, 5, 6, 7, 8]);
let b: [i32; 4] = cast_to_m128i_from_m256i(a).into();
assert_eq!(b, [1, 2, 3, 4]);