]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: simplify SAE checking
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Aug 2024 07:24:10 +0000 (09:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Aug 2024 07:24:10 +0000 (09:24 +0200)
commit5637daa2064c44831f90e64df37bcd047160366e
treeae47103ee57064b06fde1d9477d3e856caff4909
parentb67ed4587727b940e9faafa8cdb1db1c32e34846
x86: simplify SAE checking

To determine whether SAE (with or without StaticRounding) is permitted
there's no need to iterate over all operands. Even less so starting at
the front (thus needlessly inspecting immediate operands as well).
Leverage the pattern across all relevant templates and check only the
last two operands, and also only for non-512 ones (besides the non-LIG
case that was already checked for).
gas/config/tc-i386.c