https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109610
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Please don't do the peephole thing! This seems like a target-independent problem. The costs for r117 look odd. Why is the cost of GENERAL_REGS so high when the use (before the introduction of insn 13) explicitly requires GENERAL_REGS? Given those costs, the behaviour after the patch looks correct (on the basis of the information its working with, I mean, even though it's not the desired effect).