https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112548
--- Comment #33 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So one thing mcf benefits from is Transparent huge pages. If the memory adddress lines up, you get the benefit, otherwise don't. With some slight code changes, thp might not kick in.