aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
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-opc.h
parent7d5d4e982dcfc68a869ab0f63146751f6ba27c58 (diff)
downloadgdb-8729a6f6a5148fb4dcb280a95dc0bdc35f02b96e.zip
gdb-8729a6f6a5148fb4dcb280a95dc0bdc35f02b96e.tar.gz
gdb-8729a6f6a5148fb4dcb280a95dc0bdc35f02b96e.tar.bz2
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-opc.h')
-rw-r--r--opcodes/i386-opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 8d5dade..a92223c 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -136,6 +136,8 @@ enum
CpuLZCNT,
/* INVPCID Instructions required */
CpuINVPCID,
+ /* VMFUNC Instruction required */
+ CpuVMFUNC,
/* 64bit support available, used by -march= in assembler. */
CpuLM,
/* 64bit support required */
@@ -213,6 +215,7 @@ typedef union i386_cpu_flags
unsigned int cpubmi2:1;
unsigned int cpulzcnt:1;
unsigned int cpuinvpcid:1;
+ unsigned int cpuvmfunc:1;
unsigned int cpulm:1;
unsigned int cpu64:1;
unsigned int cpuno64:1;