linux-4.9.37/arch/x86/include/asm/user_64.h
用于表示 i387 浮点寄存器状态的结构体。它定义在 <asm/i387.h> 头文件中,主要用于保存和恢复浮点寄存器的状态。
struct user_i387_struct {
unsigned short cwd;
unsigned short swd;
unsigned short twd; /* Note this is not the same as
the 32bit/x87/FSAVE twd */
unsigned short fop;
__u64 rip;
__u64 rdp;
__u32 mxcsr;
__u32 mxcsr_mask;
__u32 st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */
__u32 xmm_space[64]; /* 16*16 bytes for each XMM-reg = 256 bytes */
__u32 padding[24];
};