https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121136
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|other |middle-end Keywords| |code-size --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely what could be done is in the middle-end try to expand to different things and chose the best based on the cost the target gives back for each sequence.