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 ARM or ARM64EC) and (AArch64 or 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.