[−][src]Function safe_arch::cmp_gt_mask_i64_m128i
#[must_use]pub fn cmp_gt_mask_i64_m128i(a: m128i, b: m128i) -> m128i
This is supported with target feature
sse4.2
only.Lanewise a > b
with lanes as i64
.
All bits 1 for true (-1
), all bit 0 for false (0
).
let a = m128i::from([1_i64, 3]); let b = m128i::from([0_i64, 3]); let c: [i64; 2] = cmp_gt_mask_i64_m128i(a, b).into(); assert_eq!(c, [-1_i64, 0]);