pub fn convert_to_i64_m128i_from_lower2_i8_m128i(a: m128i) -> m128iExpand description
Convert the lower two i8 lanes to two i64 lanes.
let a =
m128i::from([0_i8, -1, 2, -3, 4, -5, 6, -7, 8, 9, 10, 11, 12, 13, 14, 15]);
let c: [i64; 2] = convert_to_i64_m128i_from_lower2_i8_m128i(a).into();
assert_eq!(c, [0_i64, -1]);- Intrinsic:
_mm_cvtepi8_epi64 - Assembly:
pmovsxbq xmm, xmm