[][src]Function safe_arch::store_masked_m128

pub fn store_masked_m128(addr: &mut m128, mask: m128i, a: m128)
This is supported with target feature avx only.

Store data from a register into memory according to a mask.

When the high bit of a mask lane isn't set that lane is not written.

let mut a = m128::default();
store_masked_m128(
  &mut a,
  m128i::from([0, -1, -1, 0]),
  m128::from([8.0, 17.0, 16.0, 20.0]),
);
assert_eq!(a.to_array(), [0.0, 17.0, 16.0, 0.0]);