Skip to main content

svldff1sh_gather_u64base_index_u64

Function svldff1sh_gather_u64base_index_u64 

Source
pub unsafe fn svldff1sh_gather_u64base_index_u64(
    pg: svbool_t,
    bases: svuint64_t,
    index: i64,
) -> svuint64_t
🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)
Available on (AArch64 or ARM64EC) and target feature sve only.
Expand description

Load 16-bit data and sign-extend, first-faulting Arm’s documentation

§Safety

  • pointer::offset safety constraints must be met for the address calculation for each active element (governed by pg, the first-fault register (FFR) and first-faulting behaviour).
  • This dereferences and accesses the calculated address for each active element (governed by pg, the first-fault register (FFR) and first-faulting behaviour).
  • Result lanes corresponding to inactive FFR lanes (either before or as a result of this intrinsic) have “CONSTRAINED UNPREDICTABLE” values, irrespective of predication. Refer to architectural documentation for details.
  • Addresses passed in bases lack provenance, so this is similar to using a usize as ptr cast (or core::ptr::with_exposed_provenance) on each lane before using it.