Function safe_arch::bitor_m128
source ยท pub fn bitor_m128(a: m128, b: m128) -> m128
Available with target feature
sse
only.Expand description
Bitwise a | b
.
let a = m128::from_array([1.0, 0.0, 1.0, 0.0]);
let b = m128::from_array([1.0, 1.0, 0.0, 0.0]);
let c = bitor_m128(a, b).to_array();
assert_eq!(c, [1.0, 1.0, 1.0, 0.0]);