https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126634
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why do you think it is a good idea? It seems exact deoptimization in the
common case.
popcount on many hosts is even a library call and even if it is not, popcount
instruction is rarely a win over what least_bit_hwi does.
Only gcc r14-5612 and newer can actually optimize __builtin_popcountll (x) == 1
back to something smarter.