This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PGO enhancements in GCC
- From: Andi Kleen <ak at suse dot de>
- To: Vincent Diepeveen <diep at xs4all dot nl>
- Cc: ctice at apple dot com, gcc at gcc dot gnu dot org
- Date: 25 Feb 2004 11:09:49 +0100
- Subject: Re: PGO enhancements in GCC
- References: <3.0.32.20040224024236.01319628@pop.xs4all.nl.suse.lists.egcs>
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