Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.2
-
Component/s: Instruction Architecture: Intel
-
Labels:None
Description
Currently an unhandled fault on Intel will dump out the 8 GPRs and 8 x87 registers. If using SSE2 we should dump out the XMM registers too.
We should also sanitize the x87 register names. Currently they are called FP0 to FP7, Intel call the x87 registers ST0 (stack top) to ST7 and the SSE registers XMM0 to XMM7. We also have two special register names ST0 and ST1 used to address the x87 stack when we can't perform operations in SSE. The reason the FP name exists is that the original x87 register allocation was to treat the x87 stack as a flat register file and perform trickery with stack exchange operations (fxch) to make it appear so.