This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fprofile-generate and -fprofile-use
- From: girish vaitheeswaran <girish_vaithees at yahoo dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 20 Jul 2005 13:16:31 -0700 (PDT)
- Subject: Re: -fprofile-generate and -fprofile-use
This is on Intel Pentium4 on Linux.
-girish
--- Janis Johnson <janis187@us.ibm.com> wrote:
> On Wed, Jul 20, 2005 at 10:45:01AM -0700, girish
> vaitheeswaran wrote:
> > > --- Steven Bosscher <stevenb@suse.de> wrote:
> > >
> > > > On Wednesday 20 July 2005 18:53, girish
> vaitheeswaran wrote:
> > > > > I am seeing a 20% slowdown with feedback
> optimization.
> > > > > Does anyone have any thoughts on this.
> > > >
> > > > My first thought is that you should probably
> first
> > > > tell what compiler
> > > > you are using.
> >
> > I am using gcc 3.4.3
> > -girish
>
> Which platform? I've seen slower code for
> profile-directed optimizations
> on powerpc64-linux with GCC 4.0 and mainline. It's
> a bug, but I haven't
> looked into it enough to provide a small test case
> for a problem report.
>
> Janis
>