diff options
author | LiliCui <lili.cui@intel.com> | 2020-03-06 14:38:15 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-04-02 05:48:36 -0700 |
commit | 4b27d27c07a9514d5f6d0876f659a32378fb4801 (patch) | |
tree | da3b088be2f145fc465f8bdc44d3ce217bed8408 /opcodes/i386-dis.c | |
parent | 516231b7c7278e4e5a726cff1f798beb4bbce73c (diff) | |
download | gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.zip gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.tar.gz gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.tar.bz2 |
Add support for intel SERIALIZE instruction
gas/
* config/tc-i386.c (cpu_arch): Add .serialize.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document serialize.
* testsuite/gas/i386/i386.exp: Run serialize tests
* testsuite/gas/i386/serialize.d: Likewise.
* testsuite/gas/i386/x86-64-serialize.d: Likewise.
* testsuite/gas/i386/serialize.s: Likewise.
opcodes/
* i386-dis.c (prefix_table): New instructions serialize.
* i386-gen.c (cpu_flag_init): Add CPU_SERIALIZE_FLAGS,
CPU_ANY_SERIALIZE_FLAGS.
(cpu_flags): Add CpuSERIALIZE.
* i386-opc.h (enum): Add CpuSERIALIZE.
(i386_cpu_flags): Add cpuserialize.
* i386-opc.tbl: Add SERIALIZE insns.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 4a59619..89ab43c 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -3644,7 +3644,7 @@ static const struct dis386 prefix_table[][4] = { /* PREFIX_0F01_REG_5_MOD_3_RM_0 */ { - { Bad_Opcode }, + { "serialize", { Skip_MODRM }, PREFIX_OPCODE }, { "setssbsy", { Skip_MODRM }, PREFIX_OPCODE }, }, |