[−][src]Function safe_arch::convert_to_i32_from_m256i_s
#[must_use]pub fn convert_to_i32_from_m256i_s(a: m256i) -> i32
This is supported with target feature
avx
only.Convert the lowest i32
lane to a single i32
.
let a = m256i::from([4, 5, 6, 7, 8, 9, 10, 11]); let b = convert_to_i32_from_m256i_s(a); assert_eq!(b, 4);
- Intrinsic:
_mm256_cvtsi256_si32
- Assembly:
vmovd r32, xmm