[Bug middle-end/27733] [4.1 Regression] Large compile time regression

2006-06-13 Thread bonzini at gcc dot gnu dot org


--- Comment #18 from bonzini at gnu dot org  2006-06-13 13:05 ---
Subject: Bug 27733

Author: bonzini
Date: Tue Jun 13 13:05:39 2006
New Revision: 114610

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114610
Log:
2006-06-13  Paolo Bonzini  [EMAIL PROTECTED]

PR middle-end/27733
* expmed.c (struct alg_hash_entry): Fix type of field T
to match synth_mult argument.
(NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.

Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/expmed.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733



[Bug middle-end/27733] [4.1 Regression] Large compile time regression

2006-06-13 Thread bonzini at gnu dot org


--- Comment #19 from bonzini at gnu dot org  2006-06-13 13:06 ---
Fixed, but we may want the patch on 4.0 too.


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to fail|4.1.0   |4.1.1
  Known to work|4.0.4 4.2.0 |4.0.4 4.1.2 4.2.0
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733



[Bug middle-end/27733] [4.1 Regression] Large compile time regression

2006-06-13 Thread soete dot joel at tiscali dot be


--- Comment #20 from soete dot joel at tiscali dot be  2006-06-13 15:43 
---
(In reply to comment #19)
 Fixed, but we may want the patch on 4.0 too.
 
Curious I didn't notice this pb gcc-4.0?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733



[Bug middle-end/27733] [4.1 Regression] Large compile time regression

2006-06-11 Thread soete dot joel at tiscali dot be


--- Comment #17 from soete dot joel at tiscali dot be  2006-06-11 13:56 
---
Yes, it does the drill: 
I back port this patch against debian gcc-4.1 stock sources (gcc version 4.1.2
20060604 (prerelease) (Debian 4.1.1-2)) and got this excellent improvement of
the real case (kernel parisc linux page_alloc.c)
# time sh ../TstPageAlloc
+ hppa64-linux-gnu-gcc-4.1 -Wp,-MD,mm/.page_alloc.o.d -nostdinc -isystem
/usr/li
b/gcc/hppa64-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2
-I/CAD/li
nux-2.6.17-rc5-pa3/include -include include/linux/autoconf.h
-I/CAD/linux-2.6.17
-rc5-pa3/mm -Imm -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-al
iasing -fno-common -O2 -fomit-frame-pointer -pipe -mno-space-regs
-mfast-indirec
t-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000
-Wdeclar
ation-after-statement -Wno-pointer-sign '-DKBUILD_STR(s)=#s'
'-DKBUILD_BASENAME=
KBUILD_STR(page_alloc)' '-DKBUILD_MODNAME=KBUILD_STR(page_alloc)' -c -o
mm/.tmp_
page_alloc.o /CAD/linux-2.6.17-rc5-pa3/mm/page_alloc.c

with the debian stock 64bit xcompiler:

real92m41.950s
user88m4.628s
sys 0m2.520s

with patch applied:

real2m32.845s
user2m24.835s
sys 0m0.229s

Thanks a lot,
J.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733