[][src]Macro safe_arch::cmp_op_mask_m256

macro_rules! cmp_op_mask_m256 {
    ($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 = m256::from_array([1.0, 5.0, 0.0, 7.0, 5.0, 6.0, 7.0, -20.0]);
let b = m256::from_array([2.0, 1.0, 3.0, 4.0, 1.0, -2.0, -3.0, -4.0]);
let c = cmp_op_mask_m256!(a, LessThanOrdered, b).to_bits();
assert_eq!(c, [u32::MAX, 0, u32::MAX, 0, 0, 0, 0, u32::MAX]);