pub fn move_mask_i8_m128i(a: m128i) -> i32
Available with target feature sse2 only.
Expand description

Gathers the i8 sign bit of each lane.

The output has lane 0 as bit 0, lane 1 as bit 1, and so on.

let a = m128i::from([0_i8, -11, -2, 13, 4, 15, -6, 17, 8, 19, -20, 21, 22, 23, -24, 127]);
let i = move_mask_i8_m128i(a);
assert_eq!(i, 0b0100010001000110);