aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorIlya Tocar <ilya.tocar@intel.com>2014-11-17 14:49:47 +0300
committerH.J. Lu <hjl.tools@gmail.com>2014-11-17 05:56:47 -0800
commit9d8596f0792ad0f9d21d6af23ff0db68beb56ccd (patch)
treede1b652fa43b919fba904616132de1365d629b85 /opcodes/i386-opc.h
parentc5e7287a1a245a2043352e0db9c731fb7e31a90f (diff)
downloadgdb-9d8596f0792ad0f9d21d6af23ff0db68beb56ccd.zip
gdb-9d8596f0792ad0f9d21d6af23ff0db68beb56ccd.tar.gz
gdb-9d8596f0792ad0f9d21d6af23ff0db68beb56ccd.tar.bz2
Add pcommit instruction
gas/ * config/tc-i386.c (cpu_arch): Add .pcommit. * doc/c-i386.texi: Document it. /opcodes * i386-dis.c (PREFIX enum): Add PREFIX_RM_0_0FAE_REG_7. (prefix_table): Add pcommit. * i386-gen.c (cpu_flag_init): Add CPU_PCOMMIT_FLAGS. (cpu_flags): Add CpuPCOMMIT. * i386-opc.h (enum): Add CpuPCOMMIT. (i386_cpu_flags): Add cpupcommit. * i386-opc.tbl: Add pcommit. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. /gas/testsuite/ * gas/i386/i386.exp: Run new tests. * gas/i386/pcommit-intel.d: New file. * gas/i386/pcommit.d: Likewise. * gas/i386/pcommit.s: Likewise. * gas/i386/x86-64-pcommit-intel.d: Likewise. * gas/i386/x86-64-pcommit.d: Likewise. * gas/i386/x86-64-pcommit.s: 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 f65f317..b7ccf040 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -186,6 +186,8 @@ enum
CpuSE1,
/* CLWB instruction required */
CpuCLWB,
+ /* PCOMMIT instruction required */
+ CpuPCOMMIT,
/* 64bit support required */
Cpu64,
/* Not supported in the 64bit mode */
@@ -286,6 +288,7 @@ typedef union i386_cpu_flags
unsigned int cpuprefetchwt1:1;
unsigned int cpuse1:1;
unsigned int cpuclwb:1;
+ unsigned int cpupcommit:1;
unsigned int cpu64:1;
unsigned int cpuno64:1;
#ifdef CpuUnused