https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105137
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-linux-gnu
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Severity|normal |enhancement
Last reconfirmed| |2022-11-28
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Interesting aarch64 is able to optimize it all the way to be the
same code for both of them (well the only difference is the first add has the
operands swapped but still is the same really).