summaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-01-13 22:19:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-01-13 22:19:32 +0000
commit8729a6f6a5148fb4dcb280a95dc0bdc35f02b96e (patch)
treee731aa0ff5a9e0ba9c1801d5a1ee04e3f75538e1 /opcodes/i386-gen.c
parent7d5d4e982dcfc68a869ab0f63146751f6ba27c58 (diff)
downloadbinutils-gdb-8729a6f6a5148fb4dcb280a95dc0bdc35f02b96e.tar.gz
Add vmfunc
gas/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add ".vmfunc". * doc/c-i386.texi: Document vmfunc. gas/testsuite/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run vmfunc and x86-64-vmfunc. * gas/i386/vmfunc.d: New. * gas/i386/vmfunc.s: Likewise. * gas/i386/x86-64-vmfunc.d: Likewise. opcodes/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (mod_table): Add vmfunc. * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS. (cpu_flags): CpuVMFUNC. * i386-opc.h (CpuVMFUNC): New. (i386_cpu_flags): Add cpuvmfunc. * i386-opc.tbl: Add vmfunc. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 4dd75a203df..ffdc7e688e3 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -164,6 +164,8 @@ static initializer cpu_flag_init[] =
"CpuLZCNT" },
{ "CPU_INVPCID_FLAGS",
"CpuINVPCID" },
+ { "CPU_VMFUNC_FLAGS",
+ "CpuVMFUNC" },
{ "CPU_3DNOW_FLAGS",
"CpuMMX|Cpu3dnow" },
{ "CPU_3DNOWA_FLAGS",
@@ -350,6 +352,7 @@ static bitfield cpu_flags[] =
BITFIELD (CpuBMI2),
BITFIELD (CpuLZCNT),
BITFIELD (CpuINVPCID),
+ BITFIELD (CpuVMFUNC),
BITFIELD (Cpu64),
BITFIELD (CpuNo64),
#ifdef CpuUnused