https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858
--- Comment #6 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Hongtao.liu from comment #5) > (In reply to Kewen Lin from comment #3) > > (In reply to Hongtao.liu from comment #2) > > > Does https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617431.html help? > > > > Sorry, I just measured those degraded bmks with this fix, the results showed > > it didn't help. > > Sorry for the inconvience, could you try again with attached patch. > The patch will still use GENERAL_REGS when hard_regno_mode_ok for mode and > GENERAL_REGS(which is the case in PR109610), hope it can also fix this > regression. Thanks for the prompt fix, I'll do the perf evaluation once the perf boxes get released (they are used by others now) and get back to you.