clang  6.0.0svn
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 41 of file rtmintrin.h.

Referenced by _xbegin().

◆ _xabort

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

Definition at line 55 of file rtmintrin.h.

◆ _XABORT_CAPACITY

#define _XABORT_CAPACITY   (1 << 3)

Definition at line 35 of file rtmintrin.h.

◆ _XABORT_CODE

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

Definition at line 38 of file rtmintrin.h.

◆ _XABORT_CONFLICT

#define _XABORT_CONFLICT   (1 << 2)

Definition at line 34 of file rtmintrin.h.

◆ _XABORT_DEBUG

#define _XABORT_DEBUG   (1 << 4)

Definition at line 36 of file rtmintrin.h.

◆ _XABORT_EXPLICIT

#define _XABORT_EXPLICIT   (1 << 0)

Definition at line 32 of file rtmintrin.h.

◆ _XABORT_NESTED

#define _XABORT_NESTED   (1 << 5)

Definition at line 37 of file rtmintrin.h.

◆ _XABORT_RETRY

#define _XABORT_RETRY   (1 << 1)

Definition at line 33 of file rtmintrin.h.

◆ _XBEGIN_STARTED

#define _XBEGIN_STARTED   (~0u)

Definition at line 31 of file rtmintrin.h.

Function Documentation

◆ _xbegin()

static __inline__ unsigned int __DEFAULT_FN_ATTRS _xbegin ( void  )
static

Definition at line 44 of file rtmintrin.h.

References __DEFAULT_FN_ATTRS.

◆ _xend()

static __inline__ void __DEFAULT_FN_ATTRS _xend ( void  )
static

Definition at line 50 of file rtmintrin.h.