Function safe_arch::store_unaligned_m128
source · pub fn store_unaligned_m128(r: &mut [f32; 4], a: m128)
Expand description
Stores the value to the reference given.
This generally has no speed penalty if the reference happens to be 16-byte aligned, but there is a slight speed penalty if the reference is only 4-byte aligned.
let a = m128::from_array([10.0, 12.0, 13.0, 14.0]);
let mut b = [0.0; 4];
store_unaligned_m128(&mut b, a);
assert_eq!(b, [10.0, 12.0, 13.0, 14.0]);