This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch ifcvt costs 0/3] Introduce a new target hook for ifcvt costs.


On 10/09/2015 05:28 AM, Bernd Schmidt wrote:

I don't know whether you've done any more work on the patch series, but
I think I've made up my mind that optimizing the sequence before
computing its cost would be a good thing to try first. Either with a
better expander interface which generates the right thing immediately,
or running something like cselib over the generated code. I think this
would give more reliable results rather than guesstimating a redundancy
factor in the cost function.
Another great example of what we could do if we could give an RTL sequence and mini CFG to the various optimizers and have them just work on the sequence (making the appropriate assumptions about live-in and live-out objects). Retrofitting this capability would likely be very hard at this point :(

Even just DCE & CSE would probably be a notable step forward.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]