[][src]Macro safe_arch::cmp_op_mask_m128

macro_rules! cmp_op_mask_m128 {
    ($a:expr, $op:tt, $b:expr) => { ... };
    (@_raw_call $a:expr, $b:expr, $imm:expr) => { ... };
}
This is supported with target feature avx only.

Compare f32 lanes according to the operation specified, mask output.

let a = m128::from_array([2.0, 0.0, -2.0, 0.0]);
let b = m128::from_array([1.0, 1.0, -1.0, -1.0]);
let c = cmp_op_mask_m128!(a, GreaterThanOrdered, b).to_bits();
assert_eq!(c, [u32::MAX, 0, 0, u32::MAX]);