Review Board 2.0.15


x86: Add support routines to convert between x87 tag formats

Review Request #2010 - Created Sept. 10, 2013 and submitted - Latest diff uploaded

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 9870:53a406916a9c
---------------------------
x86: Add support routines to convert between x87 tag formats

This changeset adds the convX87XTagsToTags() and convX87TagsToXTags()
which convert between the tag formats in the FTW register and the
format used in the xsave area. The conversion from to the x87 FTW
representation is currently loses some information since it does not
reconstruct the valid/zero/special flags which are not included in the
xsave representation.

***
This patch is a part of series of changes to add support for KVM on x86. See https://github.com/andysan/gem5/tree/kvm-x86 for the full series.