Re: -fprofile-generate and -fprofile-use

2005-09-01 Thread girish vaitheeswaran
<[EMAIL PROTECTED]> wrote: > > On Aug 31, 2005, at 3:40 PM, girish vaitheeswaran > wrote: > > > I do not see this flag in gcc3.4.4. > > > > > > Am I missing something? > >> > > >> you may try adding -fmove-loop-invariants flag, > >&g

Re: -fprofile-generate and -fprofile-use

2005-08-31 Thread girish vaitheeswaran
I do not see this flag in gcc3.4.4. perflab2% gcc -o conftest -O3 -march=pentium4 -fmove-loop-invariants conftest.c cc1: error: unrecognized command line option "-fmove-loop-invariants" Am I missing something? -girish --- Zdenek Dvorak <[EMAIL PROTECTED]> wrote: > Hello, > > > >A more likel

Re: -fprofile-generate and -fprofile-use

2005-08-30 Thread girish vaitheeswaran
I have tried with gcc 3.4.4 and still see the same 20%slowdown. If you folks are able to crack this, do let me know. On my earlier attempts I had tried to disable all of the flags that feedback optimization turns on (except the ones that are turned on by default) and still got the 20% slowdown. Is

Re: -fprofile-generate and -fprofile-use

2005-07-26 Thread girish vaitheeswaran
individual flags on a trial > and > > > error > > > > basis. If so what would be the flags to start > the > > > It would be probably better to just turn off the > > > individual > > > optimizations with -fprofile-use (for > optimizations > > > that are

Re: -fprofile-generate and -fprofile-use

2005-07-25 Thread girish vaitheeswaran
> would be lot easier to fix it... > > Honza > > trials with. > > > > -girish > > > > --- Jan Hubicka <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, Jul 20, 2005 at 10:45:01AM -0700, > girish > > > vaitheeswaran wrote

Re: -fprofile-generate and -fprofile-use

2005-07-21 Thread girish vaitheeswaran
I am using -O3. This is the only flag apart from the profile flag -fprofile-use. I had independently tried -march=pentium4 and that did not buy any performance for this app. -girish --- Kelley Cook <[EMAIL PROTECTED]> wrote: > > I started with a clean slate in my build > environment > > and di

Re: -fprofile-generate and -fprofile-use

2005-07-20 Thread girish vaitheeswaran
wrote: > > On Wed, Jul 20, 2005 at 10:45:01AM -0700, girish > vaitheeswaran wrote: > > > > --- Steven Bosscher <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Wednesday 20 July 2005 18:53, girish > vaitheeswaran wrote: > > > > &g

Re: -fprofile-generate and -fprofile-use

2005-07-20 Thread girish vaitheeswaran
This is on Intel Pentium4 on Linux. -girish --- Janis Johnson <[EMAIL PROTECTED]> wrote: > On Wed, Jul 20, 2005 at 10:45:01AM -0700, girish > vaitheeswaran wrote: > > > --- Steven Bosscher <[EMAIL PROTECTED]> wrote: > > > > > > > On Wednesday

Re: -fprofile-generate and -fprofile-use

2005-07-20 Thread girish vaitheeswaran
I am using gcc 3.4.3 -girish > > > --- Steven Bosscher <[EMAIL PROTECTED]> wrote: > > > On Wednesday 20 July 2005 18:53, girish > > vaitheeswaran wrote: > > > I am seeing a 20% slowdown with feedback > > optimization. > > > Does anyone h

-fprofile-generate and -fprofile-use

2005-07-20 Thread girish vaitheeswaran
I am seeing a 20% slowdown with feedback optimization. Does anyone have any thoughts on this. These are the steps I followed 1. Compiled the application using -fprofile-generate. I used this flag both in the compile flags and as part of the link flags. I also had to use libgcov.a during the link p