diff options
author | Igor Tsimbalist <igor.v.tsimbalist@intel.com> | 2018-04-16 23:09:01 +0200 |
---|---|---|
committer | Igor Tsimbalist <igor.v.tsimbalist@intel.com> | 2018-04-17 11:56:34 +0200 |
commit | c48935d75f720ecb006c81b37f4058e751f1dc31 (patch) | |
tree | d43c586c582243ca9af171c54c1bb1f66d31cc3d /opcodes/i386-gen.c | |
parent | f954747f10467071b0acde07ee5f5e268ab606a6 (diff) | |
download | gdb-c48935d75f720ecb006c81b37f4058e751f1dc31.zip gdb-c48935d75f720ecb006c81b37f4058e751f1dc31.tar.gz gdb-c48935d75f720ecb006c81b37f4058e751f1dc31.tar.bz2 |
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.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r-- | opcodes/i386-gen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index daf4661..99ac6fc 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -285,6 +285,8 @@ static initializer cpu_flag_init[] = "CpuPCONFIG" }, { "CPU_WAITPKG_FLAGS", "CpuWAITPKG" }, + { "CPU_CLDEMOTE_FLAGS", + "CpuCLDEMOTE" }, { "CPU_ANY_X87_FLAGS", "CPU_ANY_287_FLAGS|Cpu8087" }, { "CPU_ANY_287_FLAGS", @@ -578,6 +580,7 @@ static bitfield cpu_flags[] = BITFIELD (CpuWBNOINVD), BITFIELD (CpuPCONFIG), BITFIELD (CpuWAITPKG), + BITFIELD (CpuCLDEMOTE), BITFIELD (CpuRegMMX), BITFIELD (CpuRegXMM), BITFIELD (CpuRegYMM), |