devela::_dep::safe_arch

Function store_m128

pub fn store_m128(r: &mut m128, a: m128)
Available on crate feature dep_safe_arch only.
Expand description

Stores the value to the reference given.

let a = m128::from_array([10.0, 12.0, 13.0, 14.0]);
let mut b = zeroed_m128();
store_m128(&mut b, a);
let c = b.to_array();
assert_eq!(c, [10.0, 12.0, 13.0, 14.0]);