LLDB mainline
Macros
RegisterInfos_x86_64.h File Reference

Go to the source code of this file.

Macros

#define GPR_OFFSET(regname)   (LLVM_EXTENSION offsetof(GPR, regname))
 
#define FPR_OFFSET(regname)
 
#define YMM_OFFSET(reg_index)
 
#define GDB_REMOTE_OFFSET   128
 
#define BNDR_OFFSET(reg_index)
 
#define BNDC_OFFSET(reg_index)
 

Macro Definition Documentation

◆ BNDC_OFFSET

#define BNDC_OFFSET (   reg_index)
Value:
(LLVM_EXTENSION offsetof(UserArea, fpr) + \
LLVM_EXTENSION offsetof(FPR, xsave) + \
LLVM_EXTENSION offsetof(XSAVE, mpxc[reg_index]) + GDB_REMOTE_OFFSET)
#define GDB_REMOTE_OFFSET

Definition at line 36 of file RegisterInfos_x86_64.h.

◆ BNDR_OFFSET

#define BNDR_OFFSET (   reg_index)
Value:
(LLVM_EXTENSION offsetof(UserArea, fpr) + \
LLVM_EXTENSION offsetof(FPR, xsave) + \
LLVM_EXTENSION offsetof(XSAVE, mpxr[reg_index]) + GDB_REMOTE_OFFSET)

Definition at line 31 of file RegisterInfos_x86_64.h.

◆ FPR_OFFSET

#define FPR_OFFSET (   regname)
Value:
(LLVM_EXTENSION offsetof(UserArea, fpr) + \
LLVM_EXTENSION offsetof(FPR, fxsave) + \
LLVM_EXTENSION offsetof(FXSAVE, regname))

Definition at line 16 of file RegisterInfos_x86_64.h.

◆ GDB_REMOTE_OFFSET

#define GDB_REMOTE_OFFSET   128

Definition at line 29 of file RegisterInfos_x86_64.h.

◆ GPR_OFFSET

#define GPR_OFFSET (   regname)    (LLVM_EXTENSION offsetof(GPR, regname))

Definition at line 13 of file RegisterInfos_x86_64.h.

◆ YMM_OFFSET

#define YMM_OFFSET (   reg_index)
Value:
(LLVM_EXTENSION offsetof(UserArea, fpr) + \
LLVM_EXTENSION offsetof(FPR, xsave) + \
LLVM_EXTENSION offsetof(XSAVE, ymmh[0]) + (32 * reg_index))

Definition at line 23 of file RegisterInfos_x86_64.h.