[patch i386]: Combine memory and indirect jump

Segher Boessenkool segher@kernel.crashing.org
Thu Jun 12 21:06:00 GMT 2014


> > Will that work on other targets?

> Well, this is the only point I am a bit concerned too.  In general I
> wouldn't expect here any issues to run peephole after scheduling, as
> peephole doesn't do anything a new run of ira/lra would require.

My concern is that peepholes are rather fragile, so imho it is not
inconceivable that some target will generate wrong code when you add
an extra (later) peephole pass.  Of course, we are in stage1.

My other concern is that running peepholes again after scheduling
could easily generate worse code.

So I think the effect of this change on other targets needs to be
evaluated.

> Anyway it would be good if a global maintainer could comment on that.

Yes :-)


Segher



More information about the Gcc-patches mailing list