core::arch::arm::sel - Rust
Description: API documentation for the Rust `sel` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, sel

# [−][src]Function core::arch::arm::sel

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

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on ARM only.

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

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)