]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: move Q-suffix-to-REX.W translation logic
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Feb 2024 07:27:16 +0000 (08:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Feb 2024 07:27:16 +0000 (08:27 +0100)
commit4e3be89fdaa5fb1647e6fb91c6f2fae47d923f90
treea6351727cdd0ed934f6692560aa68d7fe4174d4c
parent1e7dd4a0348c5985df1a3e9765fc49da19663527
x86: move Q-suffix-to-REX.W translation logic

By pulling it ahead of the SHORT_MNEM_SUFFIX case label we can drop a
part of another conditional there. While moving, also drop a pointless
check: With QWORD_MNEM_SUFFIX, register operands of XCHG necessarily
have both been 64-bit ones.
gas/config/tc-i386.c