https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858
--- Comment #8 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Segher Boessenkool from comment #7) > > 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. > > That sounds more reasonable. But, why use any heuristics like this? Can't > you > just look at the actual costs of using mem and regs? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109610#c2