[][src]Macro safe_arch::extract_i8_as_i32_imm_m128i

macro_rules! extract_i8_as_i32_imm_m128i {
    ($a:expr, $imm:expr) => { ... };
}

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!(a, 7), 101_i32);