Intel® C++ Compiler 16.0 User and Reference Guide

_mm_delay

Stalls a thread without blocking other threads. Corresponding instruction is _mm_delay This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

extern void __cdecl _mm_delay_32(unsigned int r1);

extern void __cdecl _mm_delay_64(_MM_UINT64_TYPE r1);

Parameters

r1

source operand with 32-, or 64-bit elements

Description

Stalls a thread for a specified clock cycle without blocking other threads. Hints that the processor should not fetch/issue instructions for the current thread for the specified number of clock cycles.

Any of the following events causes the processor to start fetching instructions for the delayed thread again:

Note

An interrupt causes the processor to start fetching instructions for that thread only if the state was entered with interrupts enabled.

Returns

Returns nothing.