devela::_dep::safe_arch

Function bitor_m128

pub fn bitor_m128(a: m128, b: m128) -> m128
Available on crate feature dep_safe_arch 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]);