]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv'
authorjhb <jhb@FreeBSD.org>
Wed, 4 Jul 2012 22:12:10 +0000 (22:12 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 4 Jul 2012 22:12:10 +0000 (22:12 +0000)
commit2ce653dc23b0936cbde96f33f880475b25dbdaba
tree8ee8e0ddd2e44400cf824846499bf22e3f69e664
parent4f65fa236f2375697aae8a26e4208dd71aadf951
Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv'
instructions.  I reimplemented this from scratch based on the Intel
manuals and the existing support for handling the fxsave and fxrstor
instructions.  This will let us use these instructions natively with GCC
rather than hardcoding the opcodes in hex.

Reviewed by: kib
MFC after: 1 month
contrib/binutils/gas/config/tc-i386.c
contrib/binutils/opcodes/i386-dis.c
contrib/binutils/opcodes/i386-opc.h
contrib/binutils/opcodes/i386-opc.tbl
contrib/binutils/opcodes/i386-tbl.h