https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941
--- Comment #12 from Filip Kastl <pheeck at gcc dot gnu.org> --- As I've commented in pr120957, I've also bisected 9% Zen3 -Ofast -march=native slowdown to this commit. That slowdown can also be solved by applying the patch hjl has provided.