https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Hongtao.liu from comment #8) > (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 That is not an answer to my question at all?