From a5aaedb9dba2775d855fa394246ede08e9f36652 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 9 Jun 2020 08:55:50 +0200 Subject: [PATCH] x86: correct mis-named MOD_0F51 enumerator This is for extension major opcode 50, so name it accordingly. --- opcodes/ChangeLog | 5 +++++ opcodes/i386-dis.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e8714edb933..0ef06c9910f 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2020-06-09 Jan Beulich + + * i386-dis.c (MOD_0F51): Rename to ... + (MOD_0F50): ... this. + 2020-06-08 Alex Coplan * arm-dis.c (arm_opcodes): Add dfb. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 21d9d3a61a6..6721fac466c 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -800,7 +800,7 @@ enum MOD_0F2B_PREFIX_1, MOD_0F2B_PREFIX_2, MOD_0F2B_PREFIX_3, - MOD_0F51, + MOD_0F50, MOD_0F71_REG_2, MOD_0F71_REG_4, MOD_0F71_REG_6, @@ -2746,7 +2746,7 @@ static const struct dis386 dis386_twobyte[] = { { "cmovleS", { Gv, Ev }, 0 }, { "cmovgS", { Gv, Ev }, 0 }, /* 50 */ - { MOD_TABLE (MOD_0F51) }, + { MOD_TABLE (MOD_0F50) }, { PREFIX_TABLE (PREFIX_0F51) }, { PREFIX_TABLE (PREFIX_0F52) }, { PREFIX_TABLE (PREFIX_0F53) }, @@ -10384,7 +10384,7 @@ static const struct dis386 mod_table[][2] = { {"movntsd", { Mq, XM }, PREFIX_OPCODE }, }, { - /* MOD_0F51 */ + /* MOD_0F50 */ { Bad_Opcode }, { "movmskpX", { Gdq, XS }, PREFIX_OPCODE }, }, -- 2.30.2