Function safe_arch::add_m128d

source ยท
pub fn add_m128d(a: m128d, b: m128d) -> m128d
Available with target feature sse2 only.
Expand description

Lanewise a + b.

let a = m128d::from_array([92.0, 87.5]);
let b = m128d::from_array([100.0, -6.0]);
let c = add_m128d(a, b).to_array();
assert_eq!(c, [192.0, 81.5]);