[−][src]Function safe_arch::convert_to_i32_m128i_from_lower4_i8_m128i
#[must_use]pub fn convert_to_i32_m128i_from_lower4_i8_m128i(a: m128i) -> m128i
This is supported with target feature
sse4.1
only.Convert the lower four i8
lanes to four i32
lanes.
let a = m128i::from([0_i8, -1, 2, -3, 4, -5, 6, -7, 8, 9, 10, 11, 12, 13, 14, 15]); let c: [i32; 4] = convert_to_i32_m128i_from_lower4_i8_m128i(a).into(); assert_eq!(c, [0, -1, 2, -3]);
- Intrinsic:
_mm_cvtepi8_epi32
- Assembly:
pmovsxbd xmm, xmm