[−][src]Function safe_arch::convert_to_i16_m128i_from_lower2_i16_m128i
#[must_use]pub fn convert_to_i16_m128i_from_lower2_i16_m128i(a: m128i) -> m128i
This is supported with target feature
sse4.1
only.Convert the lower two i64
lanes to two i32
lanes.
let a = m128i::from([0_i16, -1, 2, -3, 4, 5, 6, 7]); let c: [i64; 2] = convert_to_i16_m128i_from_lower2_i16_m128i(a).into(); assert_eq!(c, [0, -1]);
- Intrinsic:
_mm_cvtepi16_epi64
- Assembly:
pmovsxwq xmm, xmm