Add support for intel SERIALIZE instruction
authorLiliCui <lili.cui@intel.com>
Fri, 6 Mar 2020 06:38:15 +0000 (14:38 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 2 Apr 2020 12:48:36 +0000 (05:48 -0700)
commit4b27d27c07a9514d5f6d0876f659a32378fb4801
treeda3b088be2f145fc465f8bdc44d3ce217bed8408
parent516231b7c7278e4e5a726cff1f798beb4bbce73c
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.
14 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/serialize.d [new file with mode: 0644]
gas/testsuite/gas/i386/serialize.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-serialize.d [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h