# Function core::arch::aarch64::__ttest

source · [−]

    pub unsafe fn __ttest() -> u64

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on AArch64 and target feature `tme` only.
Expand description

Tests if executing inside a transaction. If no transaction is currently executing, the return value is 0. Otherwise, this intrinsic returns the depth of the transaction.

ARM TME Intrinsics.