https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858
--- Comment #5 from Hongtao.liu <crazylht at gmail dot com> --- (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.