__arm_mte_ptrdiff in core::arch::aarch64 - Rust
Description: Calculate the difference between the address parts of two pointers, ignoring the tags, and sign-extending the result.

Skip to main content

## __arm_mte_ptrdiff

# Function __arm_mte_ptrdiff

Source

    pub unsafe fn __arm_mte_ptrdiff<T, U>(a: *const T, b: *const U) -> i64

🔬This is a nightly-only experimental API. (`stdarch_aarch64_mte` #129010)
Available on (AArch64 or ARM64EC) and target feature `mte` only.
Expand description

Calculate the difference between the address parts of two pointers, ignoring the tags, and sign-extending the result.