]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/i386-dis.c
Enable Intel WBNOINVD instruction.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 23 Jan 2018 16:39:05 +0000 (19:39 +0300)
committerIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 23 Jan 2018 17:05:33 +0000 (20:05 +0300)
commit3233d7d074e59b83f68a22071cff597f00d5ae81
tree624dbdd63e269a8c272c8b39061c0fc8592da026
parentb4f6242e95340a31b0519187c5fc329056ddecfd
Enable Intel WBNOINVD 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 WBNOINVD instruction.

gas/
* config/tc-i386.c (cpu_arch): Add .wbnoinvd.
* doc/c-i386.texi: Document .wbnoinvd.
* testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
* testsuite/gas/i386/wbnoinvd-intel.d: New test.
* testsuite/gas/i386/wbnoinvd.d: Likewise.
* testsuite/gas/i386/wbnoinvd.s: Likewise.
* testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
* testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
* testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
opcodes/
* i386-dis.c (enum): Add PREFIX_0F09.
* i386-gen.c (cpu_flag_init): Add CPU_WBNOINVD_FLAGS.
(cpu_flags): Add CpuWBNOINVD.
* i386-opc.h (enum): Add CpuWBNOINVD.
(i386_cpu_flags): Add cpuwbnoinvd.
* i386-opc.tbl: Add WBNOINVD 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/wbnoinvd-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/wbnoinvd.d [new file with mode: 0644]
gas/testsuite/gas/i386/wbnoinvd.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-wbnoinvd-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-wbnoinvd.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-wbnoinvd.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