GDBserver
Macros
x86-xstate.h File Reference

Go to the source code of this file.

Macros

#define X86_XSTATE_X87   (1ULL << 0)
 
#define X86_XSTATE_SSE   (1ULL << 1)
 
#define X86_XSTATE_AVX   (1ULL << 2)
 
#define X86_XSTATE_BNDREGS   (1ULL << 3)
 
#define X86_XSTATE_BNDCFG   (1ULL << 4)
 
#define X86_XSTATE_MPX   (X86_XSTATE_BNDREGS | X86_XSTATE_BNDCFG)
 
#define X86_XSTATE_K   (1ULL << 5)
 
#define X86_XSTATE_ZMM_H   (1ULL << 6)
 
#define X86_XSTATE_ZMM   (1ULL << 7)
 
#define X86_XSTATE_AVX512
 
#define X86_XSTATE_X87_MASK   X86_XSTATE_X87
 
#define X86_XSTATE_SSE_MASK   (X86_XSTATE_X87 | X86_XSTATE_SSE)
 
#define X86_XSTATE_AVX_MASK   (X86_XSTATE_SSE_MASK | X86_XSTATE_AVX)
 
#define X86_XSTATE_MPX_MASK   (X86_XSTATE_AVX_MASK | X86_XSTATE_MPX)
 
#define X86_XSTATE_AVX512_MASK   (X86_XSTATE_AVX_MASK | X86_XSTATE_AVX512)
 
#define X86_XSTATE_MPX_AVX512_MASK   (X86_XSTATE_MPX_MASK | X86_XSTATE_AVX512)
 
#define X86_XSTATE_ALL_MASK   (X86_XSTATE_MPX_AVX512_MASK)
 
#define X86_XSTATE_SSE_SIZE   576
 
#define X86_XSTATE_AVX_SIZE   832
 
#define X86_XSTATE_BNDREGS_SIZE   1024
 
#define X86_XSTATE_BNDCFG_SIZE   1088
 
#define X86_XSTATE_AVX512_SIZE   2688
 
#define X86_XSTATE_MAX_SIZE   2688
 
#define HAS_MPX(XCR0)   (((XCR0) & X86_XSTATE_MPX) != 0)
 
#define HAS_AVX(XCR0)   (((XCR0) & X86_XSTATE_AVX) != 0)
 
#define HAS_AVX512(XCR0)   (((XCR0) & X86_XSTATE_AVX512) != 0)
 
#define X86_XSTATE_SIZE(XCR0)
 

Macro Definition Documentation

#define HAS_AVX (   XCR0)    (((XCR0) & X86_XSTATE_AVX) != 0)

Definition at line 58 of file x86-xstate.h.

#define HAS_AVX512 (   XCR0)    (((XCR0) & X86_XSTATE_AVX512) != 0)

Definition at line 59 of file x86-xstate.h.

#define HAS_MPX (   XCR0)    (((XCR0) & X86_XSTATE_MPX) != 0)

Definition at line 57 of file x86-xstate.h.

#define X86_XSTATE_ALL_MASK   (X86_XSTATE_MPX_AVX512_MASK)

Definition at line 46 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_AVX   (1ULL << 2)

Definition at line 26 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_AVX512
Value:
#define X86_XSTATE_ZMM_H
Definition: x86-xstate.h:33
#define X86_XSTATE_ZMM
Definition: x86-xstate.h:34
#define X86_XSTATE_K
Definition: x86-xstate.h:32

Definition at line 35 of file x86-xstate.h.

#define X86_XSTATE_AVX512_MASK   (X86_XSTATE_AVX_MASK | X86_XSTATE_AVX512)

Definition at line 43 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_AVX512_SIZE   2688

Definition at line 52 of file x86-xstate.h.

#define X86_XSTATE_AVX_MASK   (X86_XSTATE_SSE_MASK | X86_XSTATE_AVX)

Definition at line 41 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_AVX_SIZE   832

Definition at line 49 of file x86-xstate.h.

#define X86_XSTATE_BNDCFG   (1ULL << 4)

Definition at line 28 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_BNDCFG_SIZE   1088

Definition at line 51 of file x86-xstate.h.

#define X86_XSTATE_BNDREGS   (1ULL << 3)

Definition at line 27 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_BNDREGS_SIZE   1024

Definition at line 50 of file x86-xstate.h.

#define X86_XSTATE_K   (1ULL << 5)

Definition at line 32 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_MAX_SIZE   2688

Definition at line 53 of file x86-xstate.h.

#define X86_XSTATE_MPX   (X86_XSTATE_BNDREGS | X86_XSTATE_BNDCFG)

Definition at line 29 of file x86-xstate.h.

#define X86_XSTATE_MPX_AVX512_MASK   (X86_XSTATE_MPX_MASK | X86_XSTATE_AVX512)

Definition at line 44 of file x86-xstate.h.

#define X86_XSTATE_MPX_MASK   (X86_XSTATE_AVX_MASK | X86_XSTATE_MPX)

Definition at line 42 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_SIZE (   XCR0)
Value:
#define HAS_AVX(XCR0)
Definition: x86-xstate.h:58
#define HAS_AVX512(XCR0)
Definition: x86-xstate.h:59
#define X86_XSTATE_SSE_SIZE
Definition: x86-xstate.h:48
#define X86_XSTATE_BNDCFG_SIZE
Definition: x86-xstate.h:51
#define X86_XSTATE_AVX512_SIZE
Definition: x86-xstate.h:52
#define X86_XSTATE_AVX_SIZE
Definition: x86-xstate.h:49
#define HAS_MPX(XCR0)
Definition: x86-xstate.h:57

Definition at line 62 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_SSE   (1ULL << 1)

Definition at line 25 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_SSE_MASK   (X86_XSTATE_X87 | X86_XSTATE_SSE)

Definition at line 40 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_SSE_SIZE   576

Definition at line 48 of file x86-xstate.h.

Referenced by x86_linux_read_description().

#define X86_XSTATE_X87   (1ULL << 0)

Definition at line 24 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_X87_MASK   X86_XSTATE_X87

Definition at line 39 of file x86-xstate.h.

#define X86_XSTATE_ZMM   (1ULL << 7)

Definition at line 34 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().

#define X86_XSTATE_ZMM_H   (1ULL << 6)

Definition at line 33 of file x86-xstate.h.

Referenced by i387_cache_to_xsave(), and i387_xsave_to_cache().