aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorHu, Lin1 <lin1.hu@intel.com>2023-07-24 11:10:03 +0800
committerHaochen Jiang <haochen.jiang@intel.com>2023-07-27 20:52:52 +0800
commitcd2908958ace351831cea7acc87e68a93f395bc6 (patch)
tree2a7592e7a52f0e5c102ff173daa0791a424e20a5 /opcodes/i386-gen.c
parent2bced1684b3636d4c7607b7ec57e34d2d71b74cb (diff)
downloadgdb-cd2908958ace351831cea7acc87e68a93f395bc6.zip
gdb-cd2908958ace351831cea7acc87e68a93f395bc6.tar.gz
gdb-cd2908958ace351831cea7acc87e68a93f395bc6.tar.bz2
Support Intel PBNDKB
gas/ChangeLog: * NEWS: Support Intel PBNDKB. * config/tc-i386.c: Add pbndkb. * doc/c-i386.texi: Document .pbndkb. * testsuite/gas/i386/i386.exp: Add PBNDKB tests. * testsuite/gas/i386/x86-64.exp: Ditto. * testsuite/gas/i386/pbndkb-inval.l: New test. * testsuite/gas/i386/pbndkb-inval.s: Ditto. * testsuite/gas/i386/x86-64-pbndkb-intel.d: Ditto. * testsuite/gas/i386/x86-64-pbndkb.d: Ditto. * testsuite/gas/i386/x86-64-pbndkb.s: Ditto. opcodes/ChangeLog: * i386-dis.c (X86_64_0F01_REG_0_MOD_3_RM_7): New. (X86_64_0F01_REG_0_MOD_3_RM_7_P_0): Ditto. (prefix_table): Add PREFIX_0F01_REG_0_MOD_3_RM_7. (x86_64_table): Add X86_64_0F01_REG_0_MOD_3_RM_7_P_0. (rm_table): New entry for pbndkb. * i386-gen.c (cpu_flag): Add PBNDKB. * i386-init.h: Regenerated. * i386-mnem.h: Ditto. * i386-opc.h (CpuPBNDKB): New. (i386_cpu_flags): Add cpupbndkb. * i386-opc.tbl: Add PBNDKB instructions. * i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index a0614f9..91c22c9 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -390,6 +390,7 @@ static bitfield cpu_flags[] =
BITFIELD (VPCLMULQDQ),
BITFIELD (WBNOINVD),
BITFIELD (PCONFIG),
+ BITFIELD (PBNDKB),
BITFIELD (WAITPKG),
BITFIELD (UINTR),
BITFIELD (CLDEMOTE),