https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103781
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Side note: why not ldp in the loop? Because of the way LDP formation is done, it is just badly done in general (file a different bug for that). It is a known issue that ldp/stp formation is not good really. >As of GCC 11, the AArch64 backend is very greedy in trying to vectorize >mulv2di3. No, you are actually seeing SLP happening really and since mul does not exist, it does not do that.