]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: fold Accum checking in operand_size_match()
authorJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:27:20 +0000 (10:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:27:20 +0000 (10:27 +0200)
commit8b2de983da29506d882f41ee7b1ce4e2dce22eef
treef6bd48757423f9acc6c757b6e55814003f29d022
parent73e50a730694575b3e15e1fdbf35a802888c0aa1
x86: fold Accum checking in operand_size_match()

There's little point invoking match_{operand,simd}_size() twice per
loop; in fact the SIMD case with D set simply doesn't exist. Amend the
checks by one looking at the given operand, just like we already have
been doing for memory ones.
gas/config/tc-i386.c