[−][src]Function safe_arch::bitor_m256
#[must_use]pub fn bitor_m256(a: m256, b: m256) -> m256
This is supported with target feature
avx
only.Bitwise a | b
.
let a = m256::from_array([1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0]); let b = m256::from_array([1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0]); let c = bitor_m256(a, b).to_array(); assert_eq!(c, [1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 0.0]);