public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49485] New: Performance problem with C++ code
@ 2011-06-21 12:37 ismail at namtrac dot org
  2011-06-21 12:38 ` [Bug c++/49485] " ismail at namtrac dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ismail at namtrac dot org @ 2011-06-21 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Performance problem with C++ code
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ismail@namtrac.org


Created attachment 24570
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24570
Testcase

Attached testcase when compiled with gcc 4.3.4;


> g++ -O3 -ffast-math -o reduced_dlasr_gcc43 reduced_dlasr.cpp 

> time ./reduced_dlasr_gcc43
./reduced_dlasr_gcc43  0.15s user 0.00s system 94% cpu 0.168 total

When compiled with gcc 4.6;

> g++ -O3 -ffast-math -o reduced_dlasr_gcc46 reduced_dlasr.cpp

> time ./reduced_dlasr_gcc46
./reduced_dlasr_gcc46  0.20s user 0.00s system 99% cpu 0.209 total


gcc versions:

gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) 
gcc version 4.6.0 20110607 [gcc-4_6-branch revision 174741] (SUSE Linux)


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

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 12:37 [Bug c++/49485] New: Performance problem with C++ code ismail at namtrac dot org
2011-06-21 12:38 ` [Bug c++/49485] " ismail at namtrac dot org
2011-09-23 21:58 ` paolo.carlini at oracle dot com
2011-10-20  1:02 ` paolo.carlini at oracle dot com
2011-10-20  1:08 ` [Bug target/49485] " pinskia at gcc dot gnu.org
2011-10-20  1:09 ` pinskia at gcc dot gnu.org
2011-10-20  1:15 ` pinskia at gcc dot gnu.org
2011-10-20  7:38 ` jakub at gcc dot gnu.org
2011-10-20  7:58 ` jakub at gcc dot gnu.org
2011-10-20  8:20 ` paolo.carlini at oracle dot com
2011-10-20  8:44 ` jakub at gcc dot gnu.org
2011-10-20  9:28 ` [Bug target/49485] [4.6 Regression] " paolo.carlini at oracle dot com
2011-10-27  9:42 ` rguenth at gcc dot gnu.org
2012-03-01 14:56 ` jakub at gcc dot gnu.org
2013-04-12 16:18 ` jakub at gcc dot gnu.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).