Re: profile-directed optimization

2008-09-21 Thread Paolo Bonzini
Bruno Haible wrote: > Paolo Bonzini wrote: >>> But the compiler does not know that fstrcmp is called millions of time and >>> that this piece of code needs to be optimized for speed rather than for >>> space. >> If doing profile-directed optimization, it does k

Re: profile-directed optimization

2008-09-21 Thread Bruno Haible
Paolo Bonzini wrote: > > But the compiler does not know that fstrcmp is called millions of time and > > that this piece of code needs to be optimized for speed rather than for > > space. > > If doing profile-directed optimization, it does know. However, it is impractic