public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/17028] New: Code Slowdown wth -freduce-all-givs in C++
@ 2004-08-14 15:30 CaptainSifff at gmx dot de
  2004-08-14 15:35 ` [Bug other/17028] " CaptainSifff at gmx dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: CaptainSifff at gmx dot de @ 2004-08-14 15:30 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5425 bytes --]

In the Man-page, you said you're interested in Code that runs slower, with  
-freduce-all-givs -fmove-all-movables. I encounter in my programm ca. 5%-10%  
slowdown. 
 
If it's interresting: Compilation of my programm with -fnew-ra makes the Code  
20%-30% slower 
 
 
I'm using glibc-2.3.2 
on a SuSE System. Kernel 2.6.8-rc4 
 
I couldn't attach the relevant preprocessed Source-files, due to the  
restrictions of your mailing-List.And I couldn't send to your mailing List 
because it filters the header of my ISP. If someone is interrested in working 
on this, he can mail me(CaptainSifff@gmx.de). The compressed source is 212 kB.   
 
Feel free to ask for further Information. 
 
 
Processing of Polygon.cpp produces this Console-Output: 
 
Lese Spezifikationen von /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/specs 
Konfiguriert mit: ../gcc-3.4.1/configure --host=i686-pc-linux-gnu  
--with-gnu-as --with-gnu-ld --with-system-zlib --enable-threads  
--enable-shared --prefix=/usr --with-cpu=i586 --with-arch=i586  
--with-tune=i586 
Thread-Modell: posix 
gcc-Version 3.4.1 
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1plus -E -quiet -v -D_GNU_SOURCE  
Polygon.cpp -march=athlon-xp -mmmx -msse -m3dnow -ffast-math -funroll-loops  
-funswitch-loops -fpeel-loops -funit-at-a-time -ftracer -fweb -O2 -o  
Polygon.ii 
nicht vorhandenes Verzeichnis  
»/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/include«  
wird ignoriert 
#include "..." - Suche beginnt hier: 
#include <...> - Suche beginnt hier: 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/i686-pc-linux-gnu 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/backward 
 /usr/local/include 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include 
 /usr/include 
Ende der Suchliste. 
In Datei, eingefügt von Polygon.cpp:21: 
Polygon.h:33:1: Warnung: "M_PI" redefined 
In Datei, eingefügt von Polygon.h:28, 
                    von Polygon.cpp:21: 
/usr/include/math.h:323:1: Warnung: this is the location of the previous  
definition 
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1plus -fpreprocessed Polygon.ii  
-quiet -dumpbase Polygon.cpp -march=athlon-xp -mmmx -msse -m3dnow -auxbase  
Polygon -O2 -version -ffast-math -funroll-loops -funswitch-loops -fpeel-loops  
-funit-at-a-time -ftracer -fweb -o Polygon.s 
GNU C++ version 3.4.1 (i686-pc-linux-gnu) 
        compiled by GNU C version 3.4.1. 
GGC-Heuristik: --param ggc-min-expand=64 --param ggc-min-heapsize=64348 
 as -V -Qy -o Polygon.o Polygon.s 
 
Processing of dreidstudiomaxloader.cpp produces this output 
 
g++ -v -save-temps -march=athlon-xp -O2 -mmmx -msse -m3dnow -ffast-math  
-funroll-loops -funswitch-loops -fpeel-loops -funit-at-a-time -ftracer -fweb  
dreidstudiomaxloader.cpp -I. 
Lese Spezifikationen von /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/specs 
Konfiguriert mit: ../gcc-3.4.1/configure --host=i686-pc-linux-gnu  
--with-gnu-as --with-gnu-ld --with-system-zlib --enable-threads  
--enable-shared --prefix=/usr --with-cpu=i586 --with-arch=i586  
--with-tune=i586 
Thread-Modell: posix 
gcc-Version 3.4.1 
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1plus -E -quiet -v -I.  
-D_GNU_SOURCE dreidstudiomaxloader.cpp -march=athlon-xp -mmmx -msse -m3dnow  
-ffast-math -funroll-loops -funswitch-loops -fpeel-loops -funit-at-a-time  
-ftracer -fweb -O2 -o dreidstudiomaxloader.ii 
nicht vorhandenes Verzeichnis  
»/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/include«  
wird ignoriert 
#include "..." - Suche beginnt hier: 
#include <...> - Suche beginnt hier: 
 . 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/i686-pc-linux-gnu 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/backward 
 /usr/local/include 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include 
 /usr/include 
Ende der Suchliste. 
In Datei, eingefügt von 3dsMax.h:20, 
                    von dreidstudiomaxloader.cpp:28: 
Polygon.h:33:1: Warnung: "M_PI" redefined 
In Datei, eingefügt von Polygon.h:28, 
                    von 3dsMax.h:20, 
                    von dreidstudiomaxloader.cpp:28: 
/usr/include/math.h:323:1: Warnung: this is the location of the previous  
definition 
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1plus -fpreprocessed  
dreidstudiomaxloader.ii -quiet -dumpbase dreidstudiomaxloader.cpp  
-march=athlon-xp -mmmx -msse -m3dnow -auxbase dreidstudiomaxloader -O2  
-version -ffast-math -funroll-loops -funswitch-loops -fpeel-loops  
-funit-at-a-time -ftracer -fweb -o dreidstudiomaxloader.s 
GNU C++ version 3.4.1 (i686-pc-linux-gnu) 
        compiled by GNU C version 3.4.1. 
GGC-Heuristik: --param ggc-min-expand=64 --param ggc-min-heapsize=64348 
 as -V -Qy -o dreidstudiomaxloader.o dreidstudiomaxloader.s

-- 
           Summary: Code Slowdown wth -freduce-all-givs in C++
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: CaptainSifff at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

* [Bug other/17028] Code Slowdown wth -freduce-all-givs in C++
  2004-08-14 15:30 [Bug other/17028] New: Code Slowdown wth -freduce-all-givs in C++ CaptainSifff at gmx dot de
@ 2004-08-14 15:35 ` CaptainSifff at gmx dot de
  2004-08-14 18:10 ` [Bug rtl-optimization/17028] " pinskia at gcc dot gnu dot org
  2004-09-22 13:32 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: CaptainSifff at gmx dot de @ 2004-08-14 15:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From CaptainSifff at gmx dot de  2004-08-14 15:35 -------
Created an attachment (id=6926)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6926&action=view)
Preprocessed Source of my programm in tar.bz2 format


-- 


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


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

* [Bug rtl-optimization/17028] Code Slowdown wth -freduce-all-givs in C++
  2004-08-14 15:30 [Bug other/17028] New: Code Slowdown wth -freduce-all-givs in C++ CaptainSifff at gmx dot de
  2004-08-14 15:35 ` [Bug other/17028] " CaptainSifff at gmx dot de
@ 2004-08-14 18:10 ` pinskia at gcc dot gnu dot org
  2004-09-22 13:32 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-14 18:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |rtl-optimization
           Keywords|                            |missed-optimization


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


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

* [Bug rtl-optimization/17028] Code Slowdown wth -freduce-all-givs in C++
  2004-08-14 15:30 [Bug other/17028] New: Code Slowdown wth -freduce-all-givs in C++ CaptainSifff at gmx dot de
  2004-08-14 15:35 ` [Bug other/17028] " CaptainSifff at gmx dot de
  2004-08-14 18:10 ` [Bug rtl-optimization/17028] " pinskia at gcc dot gnu dot org
@ 2004-09-22 13:32 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-22 13:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-22 13:31 -------
Not to be fixed, -freduce-all-givs is removed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-09-22 13:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-14 15:30 [Bug other/17028] New: Code Slowdown wth -freduce-all-givs in C++ CaptainSifff at gmx dot de
2004-08-14 15:35 ` [Bug other/17028] " CaptainSifff at gmx dot de
2004-08-14 18:10 ` [Bug rtl-optimization/17028] " pinskia at gcc dot gnu dot org
2004-09-22 13:32 ` pinskia 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).