Added MXCSR register, fixed writing to FPUCW. (#1059)

* Added MXCSR register for reading and writing

* Changed writing for fpucw register, now the qemu rounding status is updated as well
This commit is contained in:
dmarxn
2019-02-15 06:59:49 +02:00
committed by Nguyen Anh Quynh
parent 360e9c60e1
commit 256e7782ce
2 changed files with 14 additions and 2 deletions

View File

@ -88,7 +88,7 @@ typedef enum uc_x86_reg {
UC_X86_REG_IDTR, UC_X86_REG_GDTR, UC_X86_REG_LDTR, UC_X86_REG_TR, UC_X86_REG_FPCW,
UC_X86_REG_FPTAG,
UC_X86_REG_MSR, // Model-Specific Register
UC_X86_REG_MXCSR,
UC_X86_REG_ENDING // <-- mark the end of the list of registers
} uc_x86_reg;