https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mateusz Guzik from comment #4) > The gcc default for the generic target is poor. rep is known to be a problem > on most uarchs. Is it though? Or is it only poor on Intel ones? With -mtune=intel, I don't get `rep movsq` Because with -mtune=znver2/3/4/5 I do. Again as I mentioned please benchmark on more than just one processors and such.