[−][src]Function safe_arch::store_masked_i64_m128i
#[must_use]pub fn store_masked_i64_m128i(addr: &mut m128i, mask: m128i, a: m128i)
This is supported with target feature
avx2
only.Stores the i32
masked lanes given to the reference.
- A lane is "in" the mask if that lane's mask value is set in the high bit (aka "if the lane's value is negative").
- Lanes not in the mask are not modified.
let mut a = m128i::default(); store_masked_i64_m128i( &mut a, m128i::from([0_i64, -1]), set_splat_i64_m128i(5), ); assert_eq!(<[i64; 2]>::from(a), [0, 5]);
- Intrinsic:
_mm_maskstore_epi64
- Assembly:
vpmaskmovq m128, xmm, xmm