diff options
author | Hu, Lin1 <lin1.hu@intel.com> | 2023-07-24 11:10:03 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2023-07-27 20:52:52 +0800 |
commit | cd2908958ace351831cea7acc87e68a93f395bc6 (patch) | |
tree | 2a7592e7a52f0e5c102ff173daa0791a424e20a5 /opcodes/i386-opc.tbl | |
parent | 2bced1684b3636d4c7607b7ec57e34d2d71b74cb (diff) | |
download | fsf-binutils-gdb-cd2908958ace351831cea7acc87e68a93f395bc6.zip fsf-binutils-gdb-cd2908958ace351831cea7acc87e68a93f395bc6.tar.gz fsf-binutils-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-opc.tbl')
-rw-r--r-- | opcodes/i386-opc.tbl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index fdb436e..0096752 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -3066,6 +3066,12 @@ pconfig, 0x0f01c5, PCONFIG, NoSuf, {} // PCONFIG instruction end. +// PBNDKB instruction. + +pbndkb, 0x0f01c7, PBNDKB|x64, NoSuf, {} + +// PBNDKB instruction end. + // WAITPKG instructions. umonitor, 0xf30fae/6, WAITPKG, Modrm|AddrPrefixOpReg|NoSuf, { Reg16|Reg32|Reg64 } |