[−][src]Macro safe_arch::cmp_op_mask_m256d
This is supported with target feature
avx
only.Compare f64
lanes according to the operation specified, mask output.
- Operators are according to the
comparison_operator_translation
macro.
let a = m256d::from_array([1.0, 5.0, 0.0, 7.0]); let b = m256d::from_array([2.0, 1.0, 3.0, 4.0]); let c = cmp_op_mask_m256d!(a, LessThanOrdered, b).to_bits(); assert_eq!(c, [u64::MAX, 0, u64::MAX, 0]);