https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69176
--- Comment #14 from Richard Henderson <rth at gcc dot gnu.org> --- (In reply to Wilco from comment #12) > The only remaining question I had whether it would be possible to use > peephole expansions rather than the late splits. If they are evaluated in > order then if the first doesn't match or if there is no temporary, the 2nd > one will split into 2 adds. Why would you want to do this as peepholes? I don't know what you're thinking of, but I'm pretty sure it's already set up like you want: peep2 pass changes the insns to use temporaries when possible, then splitting to 2 adds happens for any remaining long constants.