https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69176

--- Comment #15 from Wilco <wdijkstr at arm dot com> ---
(In reply to Richard Henderson from comment #14)
> (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.

The final split happens a few phases later, so I wondered whether it would be
feasible to do all the splitting during peep2. There is likely no real CQ gain
in doing so, it just might make understanding the md file easier.

Reply via email to