aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-02-23 11:03:55 +0100
committerJan Beulich <jbeulich@suse.com>2017-02-23 11:03:55 +0100
commit53c4d625d70138fb5b75f0e2ebae8ff363ed3d46 (patch)
treea56c69435670815673b2464cd51a406fb2d32f96 /opcodes/i386-dis.c
parent4c5b8d1e01195f5c11048d99d71f39ddb5449f12 (diff)
downloadgdb-53c4d625d70138fb5b75f0e2ebae8ff363ed3d46.zip
gdb-53c4d625d70138fb5b75f0e2ebae8ff363ed3d46.tar.gz
gdb-53c4d625d70138fb5b75f0e2ebae8ff363ed3d46.tar.bz2
x86: drop stray VEX opcode 82 references
No such ModR/M-less opcode has ever existed in public documentation afaict, so I can't see why it had been added in the first place. Furthermore opcode 77 is special only with implied prefix 0F.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 97a18ba..108f0e3 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -12771,8 +12771,8 @@ get_valid_dis386 (const struct dis386 *dp, disassemble_info *info)
vindex = *codep++;
dp = &vex_table[vex_table_index][vindex];
end_codep = codep;
- /* There is no MODRM byte for VEX [82|77]. */
- if (vindex != 0x77 && vindex != 0x82)
+ /* There is no MODRM byte for VEX0F 77. */
+ if (vex_table_index != VEX_0F || vindex != 0x77)
{
FETCH_DATA (info, codep + 1);
modrm.mod = (*codep >> 6) & 3;
@@ -12814,8 +12814,8 @@ get_valid_dis386 (const struct dis386 *dp, disassemble_info *info)
vindex = *codep++;
dp = &vex_table[dp->op[1].bytemode][vindex];
end_codep = codep;
- /* There is no MODRM byte for VEX [82|77]. */
- if (vindex != 0x77 && vindex != 0x82)
+ /* There is no MODRM byte for VEX 77. */
+ if (vindex != 0x77)
{
FETCH_DATA (info, codep + 1);
modrm.mod = (*codep >> 6) & 3;