From ef9a6314d8a7c6d29ae448926a736d57a31ee740 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 3 Apr 2024 10:41:30 +0200 Subject: 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). --- opcodes/i386-opc.tbl | 2 +- opcodes/i386-tbl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes') diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index d2ec825..5d0c81b 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 d203adf..bc98f5d 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 } }, -- cgit v1.1