[Bug rtl-optimization/94790] Failure to use andn in specific pattern in which it is available
luoxhu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 27 07:20:30 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94790
luoxhu at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luoxhu at gcc dot gnu.org
--- Comment #3 from luoxhu at gcc dot gnu.org ---
On Power, '(~mask & a) | (b & mask)' is better than 'a ^ ((a ^ b) & mask)' as
the first can be generated as one instruction 'xxsel' as PR90323 shows.
More information about the Gcc-bugs
mailing list