clang 20.0.0git
Macros | Functions
clzerointrin.h File Reference

Go to the source code of this file.

Macros

#define __DEFAULT_FN_ATTRS    __attribute__((__always_inline__, __nodebug__, __target__("clzero")))
 

Functions

static __inline__ void __DEFAULT_FN_ATTRS _mm_clzero (void *__line)
 Zeroes out the cache line for the address __line.
 

Macro Definition Documentation

◆ __DEFAULT_FN_ATTRS

#define __DEFAULT_FN_ATTRS    __attribute__((__always_inline__, __nodebug__, __target__("clzero")))

Definition at line 17 of file clzerointrin.h.

Function Documentation

◆ _mm_clzero()

static __inline__ void __DEFAULT_FN_ATTRS _mm_clzero ( void *  __line)
static

Zeroes out the cache line for the address __line.

This uses a non-temporal store. Calling _mm_sfence() afterward might be needed to enforce ordering.

This intrinsic corresponds to the CLZERO instruction.

Parameters
__lineAn address within the cache line to zero out.

Definition at line 31 of file clzerointrin.h.