diff options
author | Lili Cui <lili.cui@intel.com> | 2020-10-14 04:31:54 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-14 04:31:54 -0700 |
commit | f64c42a9fb19409bb45d86d4b78f0465980dfcba (patch) | |
tree | bf5f77acf4027b62a0a97e2e317813b49860165e /opcodes/i386-gen.c | |
parent | 8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1 (diff) | |
download | gdb-f64c42a9fb19409bb45d86d4b78f0465980dfcba.zip gdb-f64c42a9fb19409bb45d86d4b78f0465980dfcba.tar.gz gdb-f64c42a9fb19409bb45d86d4b78f0465980dfcba.tar.bz2 |
x86: Support Intel UINTR
gas/
* NEWS: Add Intel UINTR.
* config/tc-i386.c (cpu_arch): Add .uintr.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document .uintr and nouintr.
* testsuite/gas/i386/i386.exp: Run UINTR tests.
* testsuite/gas/i386/x86-64-uintr.d: Likewise.
* testsuite/gas/i386/x86-64-uintr.s: Likewise.
opcodes/
* i386-dis.c (enum): Add
PREFIX_MOD_3_0F01_REG_5_RM_4,
PREFIX_MOD_3_0F01_REG_5_RM_5,
PREFIX_MOD_3_0F01_REG_5_RM_6,
PREFIX_MOD_3_0F01_REG_5_RM_7,
X86_64_0F01_REG_5_MOD_3_RM_4_PREFIX_1,
X86_64_0F01_REG_5_MOD_3_RM_5_PREFIX_1,
X86_64_0F01_REG_5_MOD_3_RM_6_PREFIX_1,
X86_64_0F01_REG_5_MOD_3_RM_7_PREFIX_1,
X86_64_0FC7_REG_6_MOD_3_PREFIX_1.
(prefix_table): New instructions (see prefixes above).
(rm_table): Likewise
* i386-gen.c (cpu_flag_init): Add CPU_UINTR_FLAGS,
CPU_ANY_UINTR_FLAGS.
(cpu_flags): Add CpuUINTR.
* i386-opc.h (enum): Add CpuUINTR.
(i386_cpu_flags): Add cpuuintr.
* i386-opc.tbl: Add UINTR insns.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r-- | opcodes/i386-gen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 8a42eb9..c551b20 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -295,6 +295,8 @@ static initializer cpu_flag_init[] = "CpuPCONFIG" }, { "CPU_WAITPKG_FLAGS", "CpuWAITPKG" }, + { "CPU_UINTR_FLAGS", + "CpuUINTR" }, { "CPU_CLDEMOTE_FLAGS", "CpuCLDEMOTE" }, { "CPU_AMX_INT8_FLAGS", @@ -403,6 +405,8 @@ static initializer cpu_flag_init[] = "CpuAMX_TILE|CpuAMX_INT8|CpuAMX_BF16" }, { "CPU_ANY_MOVDIRI_FLAGS", "CpuMOVDIRI" }, + { "CPU_ANY_UINTR_FLAGS", + "CpuUINTR" }, { "CPU_ANY_MOVDIR64B_FLAGS", "CpuMOVDIR64B" }, { "CPU_ANY_ENQCMD_FLAGS", @@ -637,6 +641,7 @@ static bitfield cpu_flags[] = BITFIELD (CpuWBNOINVD), BITFIELD (CpuPCONFIG), BITFIELD (CpuWAITPKG), + BITFIELD (CpuUINTR), BITFIELD (CpuCLDEMOTE), BITFIELD (CpuAMX_INT8), BITFIELD (CpuAMX_BF16), |