Function core::arch::aarch64::__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 target_arch="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.