Enable Intel PCONFIG instruction.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 23 Jan 2018 16:56:30 +0000 (19:56 +0300)
committerIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 23 Jan 2018 17:09:35 +0000 (20:09 +0300)
commitbe3a8dca2d7241878302ca55f45129d532b6f746
tree8466b4e7555c4c5c3923a92984c9875b18e609d1
parent3233d7d074e59b83f68a22071cff597f00d5ae81
Enable Intel PCONFIG instruction.

Intel has disclosed a set of new instructions for Icelake processor.
The spec is
https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

This patch enables Intel PCONFIG instruction.

gas/
* config/tc-i386.c (cpu_arch): Add .pconfig.
* doc/c-i386.texi: Document .pconfig.
* testsuite/gas/i386/i386.exp: Add PCONFIG tests.
* testsuite/gas/i386/pconfig-intel.d: New test.
* testsuite/gas/i386/pconfig.d: Likewise.
* testsuite/gas/i386/pconfig.s: Likewise.
* testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
* testsuite/gas/i386/x86-64-pconfig.d: Likewise.
* testsuite/gas/i386/x86-64-pconfig.s: Likewise.
opcodes/
* i386-dis.c (enum): Add pconfig.
* i386-gen.c (cpu_flag_init): Add CPU_PCONFIG_FLAGS.
(cpu_flags): Add CpuPCONFIG.
* i386-opc.h (enum): Add CpuPCONFIG.
(i386_cpu_flags): Add cpupconfig.
* i386-opc.tbl: Add PCONFIG instruction.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
17 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/pconfig-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/pconfig.d [new file with mode: 0644]
gas/testsuite/gas/i386/pconfig.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-pconfig-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-pconfig.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-pconfig.s [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