[−][src]Function safe_arch::convert_to_i32_m256i_from_u16_m128i
#[must_use]pub fn convert_to_i32_m256i_from_u16_m128i(a: m128i) -> m256i
This is supported with target feature
avx2
only.Convert u16
values to i32
values.
let a = m128i::from([5_u16; 8]); let b: [i32; 8] = convert_to_i32_m256i_from_u16_m128i(a).into(); assert_eq!(b, [5_i32; 8]);
- Intrinsic:
_mm256_cvtepu16_epi32
- Assembly:
vpmovzxwd ymm, xmm