Re: gcc-3.4.1 vs gcc-4.2.2 performance regression in memory initialization loop

2008-04-07 Thread Richard Guenther
On Mon, Apr 7, 2008 at 1:16 AM, Tan, Jeffri <[EMAIL PROTECTED]> wrote: > > > > Would you happen to know which file the fix is in, so I can apply it as a > patch to 4.2.2? Thanks. It is in the "complete alias analysis rewrite" in tree-ssa-alias.c and tree-ssa-structalias.c. No chance of backportin

Re: gcc-3.4.1 vs gcc-4.2.2 performance regression in memory initialization loop

2008-04-05 Thread Richard Guenther
On Sat, Apr 5, 2008 at 12:24 AM, Tan, Jeffri <[EMAIL PROTECTED]> wrote: > > Apologies if this has been discussed before. I built the ARM compiler > for gcc-3.4.1 and gcc-4.2.2, and there seems to be a performance > regression. A tight loop in gcc-3.4.1 generates better code than > gcc-4.2.2. >

gcc-3.4.1 vs gcc-4.2.2 performance regression in memory initialization loop

2008-04-04 Thread Tan, Jeffri
Apologies if this has been discussed before. I built the ARM compiler for gcc-3.4.1 and gcc-4.2.2, and there seems to be a performance regression. A tight loop in gcc-3.4.1 generates better code than gcc-4.2.2. In gcc-4.2.2, the store to the memory location of variable 'p' happens in the loop. Ho