x86: Add support for FLDENV & FNSTENV
Review Request #1917 - Created June 10, 2013 and submitted
| Information | |
|---|---|
| Andreas Sandberg | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
| gblack | |
Changeset 9760:f7df7b862186 --------------------------- x86: Add support for FLDENV & FNSTENV
Quick regressions pass. Minor stat differences in full regressions (to be expected since some instructions aren't no-ops anymore). Solves a bug triggered by switching between a simulated CPU that tries to save the x87 state and a virtualized CPU that restores the state (which is completely bogus unless FNSTENV is implemented).
Review request changed
Updated (June 12, 2013, 7:52 p.m.)
Description: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+98 -16) |
Review request changed
Updated (June 12, 2013, 9:24 p.m.)
Testing Done: |
|
|---|
Posted (June 27, 2013, 10:51 p.m.)
-
src/arch/x86/isa/insts/x87/control/save_and_restore_x87_environment.py (Diff revision 2) -
Why do we need these eret instructions?
Ship It!
