Skip to main content

## svld1_gather_u32base_index_s32

# Function svld1_gather_u32base_index_s32

Source

    pub unsafe fn svld1_gather_u32base_index_s32(
        pg: svbool_t,
        bases: svuint32_t,
        index: i64,
    ) -> svint32_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.