[Bug middle-end/126634] hwint.h pow2_or_zerop/pow2p_hwi could use popcount_hwi if supported.
"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Wed, 05 Aug 2026 00:01:16 +0000
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126634
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Yes this does not seem like a good idea.
Unlike the other places where we open code things; this one place will
basically go back to the open coded version for most hosts (as mentioned by
Jakub).
So this might actually be slower at compiling gcc (ever so slightly).