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: PGO enhancements in GCC


Vincent Diepeveen <diep@xs4all.nl> writes:

> The code size of the program in question i refer to here is DIEP and it's
> pretty big code size. It won't fit easily in L1 instruction cache of my K7
> processors (2x dual K7). Using profile guided information and structure of
> which function calls which it might be possible to reschedule the functions
> within the software such that it has a bigger chance to hit the functions
> already inside L1 instruction cache. Especially at P4 and future problem

Caroline Tice just posted a patch to do that yesterday on gcc-patches.
It splits hot and cold code into separate sections. 
See http://gcc.gnu.org/ml/gcc-patches/2004-02/msg02251.html

Maybe you could test her patch?

-Andi


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