clang  14.0.0git
Macros | Functions
rtmintrin.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _XBEGIN_STARTED   (~0u)
 
#define _XABORT_EXPLICIT   (1 << 0)
 
#define _XABORT_RETRY   (1 << 1)
 
#define _XABORT_CONFLICT   (1 << 2)
 
#define _XABORT_CAPACITY   (1 << 3)
 
#define _XABORT_DEBUG   (1 << 4)
 
#define _XABORT_NESTED   (1 << 5)
 
#define _XABORT_CODE(x)   (((x) >> 24) & 0xFF)
 
#define __DEFAULT_FN_ATTRS   __attribute__((__always_inline__, __nodebug__, __target__("rtm")))
 
#define _xabort(imm)   __builtin_ia32_xabort((imm))
 

Functions

static __inline__ unsigned int __DEFAULT_FN_ATTRS _xbegin (void)
 
static __inline__ void __DEFAULT_FN_ATTRS _xend (void)
 

Macro Definition Documentation

◆ __DEFAULT_FN_ATTRS

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

Definition at line 27 of file rtmintrin.h.

◆ _xabort

#define _xabort (   imm)    __builtin_ia32_xabort((imm))

Definition at line 41 of file rtmintrin.h.

◆ _XABORT_CAPACITY

#define _XABORT_CAPACITY   (1 << 3)

Definition at line 21 of file rtmintrin.h.

◆ _XABORT_CODE

#define _XABORT_CODE (   x)    (((x) >> 24) & 0xFF)

Definition at line 24 of file rtmintrin.h.

◆ _XABORT_CONFLICT

#define _XABORT_CONFLICT   (1 << 2)

Definition at line 20 of file rtmintrin.h.

◆ _XABORT_DEBUG

#define _XABORT_DEBUG   (1 << 4)

Definition at line 22 of file rtmintrin.h.

◆ _XABORT_EXPLICIT

#define _XABORT_EXPLICIT   (1 << 0)

Definition at line 18 of file rtmintrin.h.

◆ _XABORT_NESTED

#define _XABORT_NESTED   (1 << 5)

Definition at line 23 of file rtmintrin.h.

◆ _XABORT_RETRY

#define _XABORT_RETRY   (1 << 1)

Definition at line 19 of file rtmintrin.h.

◆ _XBEGIN_STARTED

#define _XBEGIN_STARTED   (~0u)

Definition at line 17 of file rtmintrin.h.

Function Documentation

◆ _xbegin()

static __inline__ unsigned int __DEFAULT_FN_ATTRS _xbegin ( void  )
static

Definition at line 30 of file rtmintrin.h.

◆ _xend()

static __inline__ void __DEFAULT_FN_ATTRS _xend ( void  )
static

Definition at line 36 of file rtmintrin.h.