This is an archive of the discontinued LLVM Phabricator instance.

X86: Change FTAG register size in FXSAVE structure
ClosedPublic

Authored by abhishek.aggarwal on Oct 9 2015, 5:18 AM.

Details

Summary
  • Changed from 16 bits to 8 bits for Intel Architecture
    • FXSAVE structure now conforms with the layout of FXSAVE area specified by IA Architecture Software Developer Manual
  • Modified Linux and FreeBSD specific files to support this change
    • MacOSX already uses 8 bits for ftag register
  • Modified TestRegisters.py and a.cpp:
    • Change allows 8 bit comparison of ftag values
    • Change resolves Bug 24733: Removed XFAIL for Clang as the test works and passes for Clang compiler as well
    • Change provides a Generic/Better way of testing Bug 24457 and Bug 25050 by using 'int3' inline assembly in inferior

Signed-off-by: Abhishek Aggarwal <abhishek.a.aggarwal@intel.com>

Diff Detail

Event Timeline

abhishek.aggarwal retitled this revision from to X86: Change FTAG register size in FXSAVE structure.
abhishek.aggarwal updated this object.
emaste added a comment.Oct 9 2015, 5:42 AM

FreeBSD parts LGTM

clayborg accepted this revision.Oct 9 2015, 10:25 AM
clayborg edited edge metadata.
This revision is now accepted and ready to land.Oct 9 2015, 10:25 AM