https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112547
--- Comment #2 from Haochen Jiang <haochen.jiang at intel dot com> --- It is weird since I did not touch the tune. Need a bisect to check that but I do not have a zen4 machine. Could you try with this commit g:459866eaeec151e72aecd670695f014f4ec48588 to see if the regression still occurs? If that still occurs, a guess might be zmm vectorization is not enabled corrected under some scenario.