]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: drop bogus accumulator check
authorJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:25:38 +0000 (10:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:25:38 +0000 (10:25 +0200)
commit90a3386308e323b59eaad646f07b2c2a8ed036d4
tree975378820c01090bd63c4cc6ebcaf6dabd7e1466
parent27f754ee503500d4986bfec4e4daf6fda014e159
x86: drop bogus accumulator check

Accum is an "instance", not a "class". With present enumerator values of
Reg and Accum, the 2nd check simply did the same as the first. In fact
checking for the accumulator (%rax) isn't necessary here at all, because
there's no case where an individual template would permit alternatively
a memory operand or the (qword) accumulator; only "any GPR" is ever
being paired with "memory".
gas/config/tc-i386.c