This is the mail archive of the gcc@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: -fmove-all-movables and -freduce-all-givs


> I'm currently researching how machine learning algorithms can be 
> employed to discover effective compiler heuristics.  I see from your 
> online documentation that -fmove-all-movables and -freduce-all-givs can 
> sometimes generate slower code.
> 
> These optimizations seem like prime candidates for machine learning 
> because the tradeoffs are not clear (in my mind it seems like the 
> optimizations should always yield speedups).

Only if your processor has an infinite number of registers what can
be addressed with equal cost.


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