public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18707] New: Performance regression at -O2 with gzip
@ 2004-11-28 20:30 ebotcazou at gcc dot gnu dot org
  2004-11-28 20:32 ` [Bug regression/18707] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-28 20:30 UTC (permalink / raw)
  To: gcc-bugs

GCC 4.0.0pre generates worse code than GCC 3.4.4pre at -O2 for gzip 1.2.4 on
UltraSPARC III.  I've also included Sun ONE Studio 8 as a comparison point.

32-bit GCC vs Sun ONE Studio 8 CC:

cc: "-fast -xarch=v8plusb -xchip=ultra3"
gcc: "-O2 -mcpu=ultrasparc3"

-rwxrwxr-x   1 eric     eric       72464 Nov 28 13:08 gzip33
-rwxrwxr-x   1 eric     eric       71444 Nov 28 13:09 gzip34
-rwxrwxr-x   1 eric     eric       71904 Nov 28 13:10 gzip40
-rwxrwxr-x   1 eric     eric      118316 Nov 28 13:42 gzipcc

./gzip33 gcc.tar  28.99s user 0.78s system 98% cpu 30.343 total
./gzip33 gcc.tar  29.03s user 0.64s system 98% cpu 29.989 total
./gzip33 gcc.tar  29.01s user 0.64s system 98% cpu 29.994 total

./gzip34 gcc.tar  24.24s user 0.70s system 98% cpu 25.383 total
./gzip34 gcc.tar  24.29s user 0.65s system 98% cpu 25.296 total
./gzip34 gcc.tar  24.30s user 0.64s system 98% cpu 25.231 total

./gzip40 gcc.tar  24.76s user 0.63s system 98% cpu 25.737 total
./gzip40 gcc.tar  24.75s user 0.63s system 98% cpu 25.668 total
./gzip40 gcc.tar  24.75s user 0.58s system 98% cpu 25.696 total

./gzipcc gcc.tar  24.53s user 0.99s system 95% cpu 26.663 total
./gzipcc gcc.tar  24.45s user 0.73s system 98% cpu 25.476 total
./gzipcc gcc.tar  24.51s user 0.65s system 98% cpu 25.513 total


64-bit GCC vs Sun ONE Studio 8 CC:

cc: "-fast -xarch=v9b -xchip=ultra3"
gcc: "-O2 -mcpu=ultrasparc3"

-rwxrwxr-x   1 eric     eric      109336 Nov 28 12:56 gzip33
-rwxrwxr-x   1 eric     eric      104504 Nov 28 12:57 gzip34
-rwxrwxr-x   1 eric     eric      105048 Nov 28 12:59 gzip40
-rwxrwxr-x   1 eric     eric      149120 Nov 28 13:45 gzipcc

./gzip33 gcc.tar  33.54s user 0.65s system 99% cpu 34.458 total
./gzip33 gcc.tar  33.40s user 0.64s system 99% cpu 34.154 total
./gzip33 gcc.tar  33.45s user 0.54s system 99% cpu 34.101 total

./gzip34 gcc.tar  28.54s user 0.71s system 99% cpu 29.365 total
./gzip34 gcc.tar  28.64s user 0.60s system 99% cpu 29.345 total
./gzip34 gcc.tar  28.78s user 0.43s system 99% cpu 29.295 total

./gzip40 gcc.tar  30.77s user 0.48s system 99% cpu 31.369 total
./gzip40 gcc.tar  30.51s user 0.72s system 99% cpu 31.367 total
./gzip40 gcc.tar  30.65s user 0.62s system 99% cpu 31.378 total

./gzipcc gcc.tar  26.67s user 0.83s system 98% cpu 27.840 total
./gzipcc gcc.tar  26.69s user 0.67s system 99% cpu 27.438 total
./gzipcc gcc.tar  26.58s user 0.75s system 99% cpu 27.457 total

-- 
           Summary: Performance regression at -O2 with gzip
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc*-*-*
  GCC host triplet: sparc*-*-*
GCC target triplet: sparc*-*-*


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


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

* [Bug regression/18707] [4.0 Regression] Performance regression at -O2 with gzip
  2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
@ 2004-11-28 20:32 ` pinskia at gcc dot gnu dot org
  2004-11-29 11:06 ` [Bug tree-optimization/18707] " ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-28 20:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |regression
           Keywords|                            |missed-optimization
            Summary|Performance regression at - |[4.0 Regression] Performance
                   |O2 with gzip                |regression at -O2 with gzip
   Target Milestone|---                         |4.0.0


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


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

* [Bug tree-optimization/18707] [4.0 Regression] Performance regression at -O2 with gzip
  2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
  2004-11-28 20:32 ` [Bug regression/18707] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-29 11:06 ` ebotcazou at gcc dot gnu dot org
  2004-11-29 19:25 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-29 11:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-29 11:06 -------
The problem comes from t27.ch, at least in 32-bit mode.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
          Component|regression                  |tree-optimization


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


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

* [Bug tree-optimization/18707] [4.0 Regression] Performance regression at -O2 with gzip
  2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
  2004-11-28 20:32 ` [Bug regression/18707] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2004-11-29 11:06 ` [Bug tree-optimization/18707] " ebotcazou at gcc dot gnu dot org
@ 2004-11-29 19:25 ` pinskia at gcc dot gnu dot org
  2004-12-16 20:01 ` cvs-commit at gcc dot gnu dot org
  2004-12-16 20:04 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 19:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-29 19:25 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02582.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug tree-optimization/18707] [4.0 Regression] Performance regression at -O2 with gzip
  2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-29 19:25 ` pinskia at gcc dot gnu dot org
@ 2004-12-16 20:01 ` cvs-commit at gcc dot gnu dot org
  2004-12-16 20:04 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-16 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-16 20:01 -------
Subject: Bug 18707

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-12-16 20:01:26

Modified files:
	gcc            : ChangeLog cfgloopmanip.c 

Log message:
	PR tree-optimization/18707
	* cfgloopmanip.c (create_preheader): Move the preheader
	only if the latch was falling through to the header.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6860&r2=2.6861
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloopmanip.c.diff?cvsroot=gcc&r1=1.39&r2=1.40



-- 


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


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

* [Bug tree-optimization/18707] [4.0 Regression] Performance regression at -O2 with gzip
  2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-12-16 20:01 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-16 20:04 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-12-16 20:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-12-16 20:04 -------
See http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01232.html


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-12-16 20:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-28 20:30 [Bug c/18707] New: Performance regression at -O2 with gzip ebotcazou at gcc dot gnu dot org
2004-11-28 20:32 ` [Bug regression/18707] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-29 11:06 ` [Bug tree-optimization/18707] " ebotcazou at gcc dot gnu dot org
2004-11-29 19:25 ` pinskia at gcc dot gnu dot org
2004-12-16 20:01 ` cvs-commit at gcc dot gnu dot org
2004-12-16 20:04 ` ebotcazou 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).