Re: kind of regression -fprofile-* between r126538 and r126587

2007-07-17 Thread Thomas Veith

Hi Andrew,

after applying the patch the problem was fixed!

crafty 'works' after -fprofile-generate/-use like a charm (again)!

Thank you :-)

Best regards,
Thomas

On Mon, 16 Jul 2007, Andrew Pinski wrote:


On 7/16/07, Janis Johnson [EMAIL PROTECTED] wrote:

 I don't have time right now to look into it, either.


I think we have a handle on this regression.
See http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01462.html for an
approved patch.

Thanks,
Andrew Pinski


Re: kind of regression -fprofile-* between r126538 and r126587

2007-07-16 Thread Janis Johnson
On Thu, 2007-07-12 at 20:54 +0200, Thomas Veith wrote:
 Hi *,
 
 when compiling crafty-20.14 with
 
 CFLAGS='$(CFLAGS) -Wall -pipe -D_REENTRANT -march=i686 -O3 \
-fprofile-use -fbranch-probabilities -fomit-frame-pointer \
-ftree-vectorize -ftree-vectorizer-verbose=1 -msse2 \
-fno-gcse -mpreferred-stack-boundary=2'
 
 with rev. 125687 crafty breaks severly -- with rev. 126538 it compiles and 
 runs smoothly.

How does it break?  I tried building crafty from SPEC CPU2000 on
powerpc-linux with -fprofile-generate/-use and various other
optimizations with current mainline and found that with feedback
plus -O1 the resulting program hangs with the test (short) input.

 As you can see, there are a lot of options involved and crafty is a big 
 program so I'm not able to provide a reduced testcase and file a PR in 
 bugzilla. But maybe someone can take this as a hint.

I don't have time right now to look into it, either.

Janis



Re: kind of regression -fprofile-* between r126538 and r126587

2007-07-16 Thread Andrew Pinski

On 7/16/07, Janis Johnson [EMAIL PROTECTED] wrote:

I don't have time right now to look into it, either.


I think we have a handle on this regression.
See http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01462.html for an
approved patch.

Thanks,
Andrew Pinski

PS See you in Ottawa tomorrow evening.


kind of regression -fprofile-* between r126538 and r126587

2007-07-12 Thread Thomas Veith

Hi *,

when compiling crafty-20.14 with

CFLAGS='$(CFLAGS) -Wall -pipe -D_REENTRANT -march=i686 -O3 \
  -fprofile-use -fbranch-probabilities -fomit-frame-pointer \
  -ftree-vectorize -ftree-vectorizer-verbose=1 -msse2 \
  -fno-gcse -mpreferred-stack-boundary=2'

with rev. 125687 crafty breaks severly -- with rev. 126538 it compiles and 
runs smoothly.


As you can see, there are a lot of options involved and crafty is a big 
program so I'm not able to provide a reduced testcase and file a PR in 
bugzilla. But maybe someone can take this as a hint.


Best regards,
Thomas

p.s.: when compiling without -fprofile-use, there is an almost 10% speedup 
from r126538 to r126587.. congrats!!!


r126538 - Raw nodes per second: 1043604
r126587 - Raw nodes per second: 1132738