Skip to main content

svld1_gather_u32base_offset_u32

Function svld1_gather_u32base_offset_u32 

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

Unextended load Arm’s documentation

§Safety

  • pointer::offset safety constraints must be met for the address calculation for each active element (governed by pg).
  • This dereferences and accesses the calculated address for each active element (governed by pg).
  • 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.