public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29256]  New: [4.2.0 performance regression]
@ 2006-09-27 18:29 edmar at freescale dot com
  2006-09-27 18:30 ` [Bug c/29256] " edmar at freescale dot com
                   ` (42 more replies)
  0 siblings, 43 replies; 44+ messages in thread
From: edmar at freescale dot com @ 2006-09-27 18:29 UTC (permalink / raw)
  To: gcc-bugs

Compiler configure with --enable-e500_double

The compiler generates inferior code then with gcc-4.1.

The source code is:
# define N      2000000
static double   a[N],c[N];
void tuned_STREAM_Copy()
{
        int j;
        for (j=0; j<N; j++)
            c[j] = a[j];
}

Attached is stream.s-4.1 and stream.s-4.2

When compiled with 4.2, the command line is:
/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/bin/powerpc-unknown-linux-gnuspe-gcc
-O3 -funroll-loops -funroll-all-loops -S stream.c -v
Using built-in specs.
Target: powerpc-unknown-linux-gnuspe
Configured with: ../gcc-trunk/configure
--prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2
--with-local-prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2
--enable-languages=c,c++,fortran --enable-threads
--target=powerpc-unknown-linux-gnuspe
--with-gmp=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--with-mpfr=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--disable-shared --disable-multilib --disable-linux-futex --enable-e500_double
Thread model: posix
gcc version 4.2.0 20060926 (experimental)

/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1
-quiet -v -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux
-D__linux -Asystem=linux -Asystem=unix -Asystem=posix stream.c -quiet -dumpbase
stream.c -auxbase stream -O3 -version -funroll-loops -funroll-all-loops -o
stream.s
#include "..." search starts here:
#include <...> search starts here:

/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include

/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/sys-include

/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/include
End of search list.
GNU C version 4.2.0 20060926 (experimental) (powerpc-unknown-linux-gnuspe)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: af19c94719eeca398c0b645020867b59





And when compiled with 4.1 the command line is:
/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2/bin/powerpc-unknown-linux-gnuspe-gcc
-O3 -funroll-loops -funroll-all-loops -S stream.c -v
Using built-in specs.
Target: powerpc-unknown-linux-gnuspe
Configured with: ../gcc-4_1-branch/configure
--prefix=/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2
--with-local-prefix=/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2
--enable-languages=c,c++,fortran --enable-threads
--target=powerpc-unknown-linux-gnuspe
--with-gmp=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--with-mpfr=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--disable-shared --disable-multilib --disable-shared --disable-multilib
--enable-e500_double
Thread model: posix
gcc version 4.1.2 20060926 (prerelease)

/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2/libexec/gcc/powerpc-unknown-linux-gnuspe/4.1.2/cc1
-quiet -v -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux
-D__linux -Asystem=linux -Asystem=unix -Asystem=posix stream.c -quiet -dumpbase
stream.c -auxbase stream -O3 -version -funroll-loops -funroll-all-loops -o
stream.s
ignoring nonexistent directory
"/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.1.2/../../../../powerpc-unknown-linux-gnuspe/include"
#include "..." search starts here:
#include <...> search starts here:

/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.1.2/include

/temp/gnu_toolchain/install_area/gcc-4_1-branch/gcc-4_1-branch-20060926-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.1.2/../../../../powerpc-unknown-linux-gnuspe/sys-include
End of search list.
GNU C version 4.1.2 20060926 (prerelease) (powerpc-unknown-linux-gnuspe)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 565818e6f0c83f0e9f8781118c7d40c3


-- 
           Summary: [4.2.0 performance regression]
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edmar at freescale dot com
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe-gcc


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


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2010-07-21 21:51 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-27 18:29 [Bug c/29256] New: [4.2.0 performance regression] edmar at freescale dot com
2006-09-27 18:30 ` [Bug c/29256] " edmar at freescale dot com
2006-09-27 18:30 ` edmar at freescale dot com
2006-09-28  3:00 ` [Bug middle-end/29256] [4.2 regression] loop unrolling performance regression pinskia at gcc dot gnu dot org
2006-09-28 11:08 ` rguenth at gcc dot gnu dot org
2006-09-28 11:34 ` rakdver at gcc dot gnu dot org
2006-09-28 13:47 ` pinskia at gcc dot gnu dot org
2006-09-28 14:03 ` rguenth at gcc dot gnu dot org
2006-09-28 14:08 ` pinskia at gcc dot gnu dot org
2006-09-28 14:11 ` rguenth at gcc dot gnu dot org
2006-09-28 14:15 ` rakdver at gcc dot gnu dot org
2006-09-28 14:16 ` [Bug middle-end/29256] [4.2 regression] loop " pinskia at gcc dot gnu dot org
2006-09-28 14:21 ` rakdver at gcc dot gnu dot org
2006-09-28 14:35 ` pinskia at gcc dot gnu dot org
2006-09-28 14:40 ` rakdver at gcc dot gnu dot org
2006-09-28 14:44 ` rakdver at gcc dot gnu dot org
2006-09-28 14:50 ` rakdver at gcc dot gnu dot org
2006-09-28 23:48 ` rakdver at gcc dot gnu dot org
2006-10-01 23:04 ` mmitchel at gcc dot gnu dot org
2006-10-06 19:32 ` rakdver at gcc dot gnu dot org
2007-05-14 21:37 ` [Bug middle-end/29256] [4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:25 ` mmitchel at gcc dot gnu dot org
2008-01-11  5:16 ` ghazi at gcc dot gnu dot org
2008-01-11  6:04 ` rakdver at kam dot mff dot cuni dot cz
2008-01-12  8:43 ` ghazi at gcc dot gnu dot org
2008-02-01 17:00 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:35 ` [Bug middle-end/29256] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-08-06  6:58 ` cnstar9988 at gmail dot com
2008-08-06 21:52 ` rakdver at gcc dot gnu dot org
2008-08-06 21:55 ` rakdver at gcc dot gnu dot org
2008-08-06 21:57 ` rakdver at gcc dot gnu dot org
2008-08-07  5:03 ` bonzini at gnu dot org
2008-10-29 17:05 ` janis at gcc dot gnu dot org
2009-03-31 19:46 ` [Bug middle-end/29256] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2010-05-22 18:23 ` [Bug middle-end/29256] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
2010-07-16 19:14 ` pthaugen at gcc dot gnu dot org
2010-07-18 17:49 ` rguenth at gcc dot gnu dot org
2010-07-21  4:16 ` sandra at codesourcery dot com
2010-07-21  4:17 ` sandra at codesourcery dot com
2010-07-21  4:21 ` sandra at codesourcery dot com
2010-07-21 16:10 ` sandra at codesourcery dot com
2010-07-21 21:51 ` pthaugen at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).