https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018
--- Comment #34 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> --- As previous patch 6d099a76a0f6a040a3e678f2bce7fc69cc3257d8(rs6000: Enable limited unrolling at -O2) only affects simple loops on rs6000. We may also set limits for GIMPLE cunroll, like for RTL unroller through a hook, and tune the limits for the unroller on simple loops.