]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: limit RegRex64 use
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2024 09:23:16 +0000 (11:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2024 09:23:16 +0000 (11:23 +0200)
commit4eb19fde73e717f35c2ba9018c2d45c4113b657e
treeefe126c289e85a7548658d1529ec3d47c21e466b
parent91fa2ea2213d3e9e53080f534ba60026d9a93916
x86: limit RegRex64 use

The special property really only applies to the "extended" byte regs
having legacy word/dword counterparts.

While touching involved code also drop redundant byte checks from a
conditional in establish_rex(): The other remaining RegRex64 uses only
exist on registers which can't be used as register operands anyway.
Hence RegRex64 as an attribute of a (valid) register operand implies
that it's a byte reg.
gas/config/tc-i386.c
opcodes/i386-reg.tbl
opcodes/i386-tbl.h