diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-10-21 12:16:32 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-10-21 12:16:32 -0700 |
commit | b5cefccad8bdeecaa3d0c548e32881466e021cb4 (patch) | |
tree | 6681b0abb5d11c513ccf7e4f952fcb0702f46f9f /opcodes/i386-dis.c | |
parent | ac423761af22f7858a1413cda5df3e1d5e88d4e4 (diff) | |
download | gdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.zip gdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.tar.gz gdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.tar.bz2 |
X86: Remove pcommit instruction
Remove x86 pcommit instruction support, which has been deprecated:
https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction
gas/
* config/tc-i386.c (cpu_arch): Remove .pcommit.
* doc/c-i386.texi: Likewise.
* testsuite/gas/i386/i386.exp: Remove pcommit tests.
* testsuite/gas/i386/pcommit-intel.d: Removed.
* testsuite/gas/i386/pcommit.d: Likewise.
* testsuite/gas/i386/pcommit.s: Likewise.
* testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
* testsuite/gas/i386/x86-64-pcommit.d: Likewise.
* testsuite/gas/i386/x86-64-pcommit.s: Likewise.
opcodes/
* i386-dis.c (PREFIX_RM_0_0FAE_REG_7): Removed.
(prefix_table): Remove the PREFIX_RM_0_0FAE_REG_7 entry.
(rm_table): Update the RM_0FAE_REG_7 entry.
* i386-gen.c (cpu_flag_init): Remove CPU_PCOMMIT_FLAGS.
(cpu_flags): Remove CpuPCOMMIT.
* i386-opc.h (CpuPCOMMIT): Removed.
(i386_cpu_flags): Remove cpupcommit.
* i386-opc.tbl: Remove pcommit.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 1518a1d..c6b0fc8 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -988,7 +988,6 @@ enum PREFIX_MOD_3_0FAE_REG_4, PREFIX_0FAE_REG_6, PREFIX_0FAE_REG_7, - PREFIX_RM_0_0FAE_REG_7, PREFIX_0FB8, PREFIX_0FBC, PREFIX_0FBD, @@ -4094,13 +4093,6 @@ static const struct dis386 prefix_table[][4] = { { "clflushopt", { Mb }, 0 }, }, - /* PREFIX_RM_0_0FAE_REG_7 */ - { - { "sfence", { Skip_MODRM }, 0 }, - { Bad_Opcode }, - { "pcommit", { Skip_MODRM }, 0 }, - }, - /* PREFIX_0FB8 */ { { Bad_Opcode }, @@ -12484,7 +12476,8 @@ static const struct dis386 rm_table[][8] = { }, { /* RM_0FAE_REG_7 */ - { PREFIX_TABLE (PREFIX_RM_0_0FAE_REG_7) }, + { "sfence", { Skip_MODRM }, 0 }, + }, }; |