From: Jan Beulich Date: Wed, 3 Apr 2024 08:41:30 +0000 (+0200) Subject: x86: add missing No_qSuf to non-64-bit PTWRITE X-Git-Tag: gdb-15-branchpoint~512 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef9a6314d8a7c6d29ae448926a736d57a31ee740;p=thirdparty%2Fbinutils-gdb.git x86: add missing No_qSuf to non-64-bit PTWRITE While largely benign, it still should have been put there when the original single template was split (commit a04973848dc5). --- diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index d2ec8256af7..5d0c81b8853 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -3006,7 +3006,7 @@ rdpid, 0xf30fc7/7, RDPID&x64, Modrm|NoSuf|NoRex64, { Reg64 } // PTWRITE instructions. -ptwrite, 0xf30fae/4, PTWRITE&No64, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_sSuf, { Reg32|Unspecified|BaseIndex } +ptwrite, 0xf30fae/4, PTWRITE&No64, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_sSuf|No_qSuf, { Reg32|Unspecified|BaseIndex } ptwrite, 0xf30fae/4, PTWRITE&x64, Modrm|No_bSuf|No_wSuf|No_sSuf, { Reg32|Reg64|Unspecified|BaseIndex } // PTWRITE instructions end. diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h index d203adf1a6e..bc98f5df3cb 100644 --- a/opcodes/i386-tbl.h +++ b/opcodes/i386-tbl.h @@ -37611,7 +37611,7 @@ static const insn_template i386_optab[] = { { { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 } } } }, { MN_ptwrite, 0xae, 1, SPACE_0F, 4, - { 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, + { 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 } },