__nop in core::arch::aarch64 - Rust
Description: Generates an unspecified no-op instruction.

Skip to main content

## __nop

# Function __nop

Source

    pub unsafe fn __nop()

🔬This is a nightly-only experimental API. (`stdarch_arm_hints` #117218)
Available on AArch64 or `target_arch=arm64ec` only.
Expand description

Generates an unspecified no-op instruction.

Note that not all architectures provide a distinguished NOP instruction. On those that do, it is unspecified whether this intrinsic generates it or another instruction. It is not guaranteed that inserting this instruction will increase execution time.