pub unsafe fn orc_b(rs: usize) -> usize
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available with target feature
zbb
only.Expand description
Bitwise OR-Combine, byte granule
Combines the bits within every byte through a reciprocal bitwise logical OR. This sets the bits of each byte in the result rd to all zeros if no bit within the respective byte of rs is set, or to all ones if any bit within the respective byte of rs is set.
Source: RISC-V Bit-Manipulation ISA-extensions
Version: v1.0.0
Section: 2.24
Safety
This function is safe to use if the zbb
target feature is present.