summaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-07 09:29:14 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-07 09:29:14 +0100
commit142861dfd5b55fe4440c35351a068dcde4ad8ce9 (patch)
tree82f0a734706af0d57cd3e46d045d92e0bda78680 /opcodes/i386-dis.c
parent081e283fafb415b4e37f2ac1d5f945ad0b61e282 (diff)
downloadbinutils-gdb-142861dfd5b55fe4440c35351a068dcde4ad8ce9.tar.gz
x86: support further AMD Zen2 instructions
Both RDPRU and MCOMMIT have been publicly documented meanwhile: https://www.amd.com/system/files/TechDocs/24594.pdf.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 7f66b7f693e..6b08dd6bde8 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -3647,6 +3647,7 @@ static const struct dis386 prefix_table[][4] = {
/* PREFIX_0F01_REG_7_MOD_3_RM_2 */
{
{ "monitorx", { { OP_Monitor, 0 } }, 0 },
+ { "mcommit", { Skip_MODRM }, 0 },
},
/* PREFIX_0F01_REG_7_MOD_3_RM_3 */
@@ -11030,6 +11031,7 @@ static const struct dis386 rm_table[][8] = {
{ PREFIX_TABLE (PREFIX_0F01_REG_7_MOD_3_RM_2) },
{ PREFIX_TABLE (PREFIX_0F01_REG_7_MOD_3_RM_3) },
{ "clzero", { Skip_MODRM }, 0 },
+ { "rdpru", { Skip_MODRM }, 0 },
},
{
/* RM_0F1E_P_1_MOD_3_REG_7 */