fix x87 register layout

This commit is contained in:
Nikita Smith
2025-12-05 16:36:46 -08:00
parent f4ceaecf75
commit ce77442d37
13 changed files with 404 additions and 655 deletions
+7 -16
View File
@@ -36,22 +36,13 @@ enum
typedef struct AlignType(16) X64_FXSave
{
U16 fcw;
U16 fsw;
U16 ftw;
U16 fop;
union {
struct {
U64 fip;
U64 fdp;
} b64;
struct {
U32 fip;
U16 fcs, _pad0;
U32 fdp;
U16 fds, _pad1;
} b32;
};
U16 fcw;
U16 fsw;
U8 ftw;
U8 reserved1;
U16 fop;
U64 fip;
U64 fdp;
U32 mxcsr;
U32 mxcsr_mask;
U128 st_space[8];