Enable Intel CLDEMOTE instruction.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Mon, 16 Apr 2018 21:09:01 +0000 (23:09 +0200)
committerIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 17 Apr 2018 09:56:34 +0000 (11:56 +0200)
commitc48935d75f720ecb006c81b37f4058e751f1dc31
treed43c586c582243ca9af171c54c1bb1f66d31cc3d
parentf954747f10467071b0acde07ee5f5e268ab606a6
Enable Intel CLDEMOTE instruction.

gas/
* config/tc-i386.c (cpu_arch): Add .cldemote.
* doc/c-i386.texi: Document cldemote/.cldemote.
* testsuite/gas/i386/cldemote-intel.d: New.
* testsuite/gas/i386/cldemote.d: Likewise.
* testsuite/gas/i386/cldemote.s: Likewise.
* testsuite/gas/i386/i386.exp: Run new tests.
* testsuite/gas/i386/x86-64-cldemote-intel.d: New.
* testsuite/gas/i386/x86-64-cldemote.d: Likewise.
* testsuite/gas/i386/x86-64-cldemote.s: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
NOP encoding that maps to cldemote.
* testsuite/gas/i386/nops.d: Likewise.
* testsuite/gas/i386/nops.s: Likewise.
* testsuite/gas/i386/x86-64-nops.d: Likewise.
* testsuite/gas/i386/x86-64-nops.s: Likewise.

opcode/
* i386-dis.c: Add REG_0F1C_MOD_0, MOD_0F1C_PREFIX_0,
PREFIX_0F1C.
* i386-gen.c (cpu_flag_init): Add CPU_CLDEMOTE_FLAGS,
(cpu_flags): Add CpuCLDEMOTE.
* i386-init.h: Regenerate.
* i386-opc.h (enum): Add CpuCLDEMOTE,
(i386_cpu_flags): Add cpucldemote.
* i386-opc.tbl: Add cldemote.
* i386-tbl.h: Regenerate.
22 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/cldemote-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/cldemote.d [new file with mode: 0644]
gas/testsuite/gas/i386/cldemote.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/ilp32/x86-64-nops.d
gas/testsuite/gas/i386/nops.d
gas/testsuite/gas/i386/nops.s
gas/testsuite/gas/i386/x86-64-cldemote-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-cldemote.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-cldemote.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops.d
gas/testsuite/gas/i386/x86-64-nops.s
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