aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-12 09:08:32 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-12 09:08:32 +0100
commit474da251bf92a11a08583080af77fa197570767f (patch)
treeca55563b2175c86cbb02362e1eb05135da888001 /opcodes/i386-opc.h
parent75e5731b8f10129ef9a0e4202152c391d70375eb (diff)
downloadgdb-474da251bf92a11a08583080af77fa197570767f.zip
gdb-474da251bf92a11a08583080af77fa197570767f.tar.gz
gdb-474da251bf92a11a08583080af77fa197570767f.tar.bz2
x86: eliminate ImmExt abuse
Drop the remaining instances left in place by commit c3949f432f ("x86: limit ImmExt abuse), now that we have a way to specify specific GPRs. Take the opportunity and also introduce proper 16-bit forms of applicable SVME insns as well as 1-operand forms of CLZERO.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 0bfb4d8..8f6cd04 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -726,8 +726,9 @@ enum operand_instance
{
InstanceNone,
Accum, /* Accumulator %al/%ax/%eax/%rax/%st(0)/%xmm0 */
- RegC, /* Register to hold shift count = %cl */
- RegD, /* Register to hold in/out port addr = %dx */
+ RegC, /* %cl / %cx / %ecx / %rcx, e.g. register to hold shift count */
+ RegD, /* %dl / %dx / %edx / %rdx, e.g. register to hold I/O port addr */
+ RegB, /* %bl / %bx / %ebx / %rbx */
};
/* Position of operand_type bits. */