Function safe_arch::extract_i8_as_i32_imm_m128i
source ยท pub fn extract_i8_as_i32_imm_m128i<const IMM: i32>(a: m128i) -> i32
Available with target feature
sse4.1
only.Expand description
Gets the i8
lane requested. Only the lowest 4 bits are considered.
let a = m128i::from([0_i8, 1, 2, 3, 4, 5, 6, 101, 8, 9, 10, 11, 12, 13, 14, 15]);
assert_eq!(extract_i8_as_i32_imm_m128i::<7>(a), 101_i32);