devela::_dep::safe_arch

Function move_mask_m128d

pub fn move_mask_m128d(a: m128d) -> i32 
Available on crate feature dep_safe_arch only.
Expand description

Gathers the sign bit of each lane.

The output has lane 0 as bit 0, lane 1 as bit 1.

let a = m128d::from_array([-1.0, 12.0]);
let i = move_mask_m128d(a);
assert_eq!(i, 0b01);