https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115082
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > I'd say ~a & 1 should be canonical (only bit ops). ok, sounds good. I will update the wiki on Friday (when I get back home) and start to implement the needed expand/match changes. Since for x86, using lea here is better. The other thing that I Might do is an expand patch to catch &~ in expand first since that might help other targets too.