https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111370
Tamar Christina <tnfchris at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org Last reconfirmed| |2023-9-12 --- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Ok, I can reproduce this with the generic cost model on Neoverse N1 hardware. The generic cost model is based on a 10+ years old cpu and is no longer fit for modern CPUs. We are planning to replace it this GCC release so the regression should go away then. I've tested with -mcpu=neoverse-n1 and it does go away and gives a much better score.