__sel in core::arch::arm - Rust
Description: Select bytes from each operand according to APSR GE flags

Skip to main content

## __sel

# Function __sel

Source

    pub unsafe fn __sel(a: int8x4_t, b: int8x4_t) -> int8x4_t

🔬This is a nightly-only experimental API. (`stdarch_arm_dsp` #117237)
Available on ARM and (target feature `v6` and non-target feature `mclass`, or target features `mclass` and `dsp`) only.
Expand description

Select bytes from each operand according to APSR GE flags

Returns the equivalent of

res[0] = GE[0] ? a[0] : b[0] res[1] = GE[1] ? a[1] : b[1] res[2] = GE[2] ? a[2] : b[2] res[3] = GE[3] ? a[3] : b[3]

where GE are bits of APSR