x86: Split apart x87's FSW and TOP, and add a missing break.
authorGabe Black <gabeblack@google.com>
Wed, 6 Dec 2017 01:49:51 +0000 (17:49 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 6 Dec 2017 08:02:25 +0000 (08:02 +0000)
commit7f163ca6d997fd7b8b51f640d450589dff0de78f
tree27af5dee739ded691b91b1752c09bb23192f05dc
parentcba37198b437fa85beccab01c544cdbaff3822ad
x86: Split apart x87's FSW and TOP, and add a missing break.

The FSW and TOP values are technically part of the same register, but
they have very different behaviors. One of them can be renamed and
float along without affecting global state, while the other requires
serialization. They just need to *look* like the same register when
read by the user.

Also, there was a missing break in setMiscRegNoEffect.

Change-Id: If58de0f566f65068208240f4001209fb9e1826d6
Reviewed-on: https://gem5-review.googlesource.com/6441
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/arch/x86/isa.cc
src/arch/x86/isa/insts/x87/control/save_and_restore_x87_environment.py