public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
       [not found] <bug-13712-7730@http.gcc.gnu.org/bugzilla/>
@ 2006-02-27 14:22 ` steven at gcc dot gnu dot org
  2006-02-27 14:41 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-02-27 14:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from steven at gcc dot gnu dot org  2006-02-27 14:22 -------
For -D__NO_MATH_INLINES we're probably not going to make any progress as long
as Uli is the glibc maintainer.

Other than that, this appears to be fixed.  Note that ICC has -ffast-math and
SSE as the defaults, where GCC choses for safe math and code that works on any
ix86 CPU, not just the ones with SSE.  So if there is still a significant
difference, it is as much philosophical as it is in code generation.

Given the right set of options, GCC can compete with ICC on my Pentium4 box,
and on Uros' box.  So there doesn't seem to be a good reason to keep this
report open.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu dot
                   |                            |org


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


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

* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
       [not found] <bug-13712-7730@http.gcc.gnu.org/bugzilla/>
  2006-02-27 14:22 ` [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler steven at gcc dot gnu dot org
@ 2006-02-27 14:41 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-02-27 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from steven at gcc dot gnu dot org  2006-02-27 14:22 -------
.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
  2004-01-16 21:11 [Bug c++/13712] New: " william dot crocker at analog dot com
                   ` (2 preceding siblings ...)
  2005-04-24 14:18 ` steven at gcc dot gnu dot org
@ 2005-05-07 15:27 ` steven at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-05-07 15:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-05-07 15:27 -------
Looks like -D__NO_MATH_INLINES makes gcc produced code much better... 

-- 


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


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

* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
  2004-01-16 21:11 [Bug c++/13712] New: " william dot crocker at analog dot com
  2005-01-23 18:39 ` [Bug rtl-optimization/13712] " steven at gcc dot gnu dot org
  2005-01-24 11:16 ` uros at kss-loka dot si
@ 2005-04-24 14:18 ` steven at gcc dot gnu dot org
  2005-05-07 15:27 ` steven at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-04-24 14:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2004-05-30 04:36:06         |2005-04-24 14:18:13
               date|                            |


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


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

* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
  2004-01-16 21:11 [Bug c++/13712] New: " william dot crocker at analog dot com
  2005-01-23 18:39 ` [Bug rtl-optimization/13712] " steven at gcc dot gnu dot org
@ 2005-01-24 11:16 ` uros at kss-loka dot si
  2005-04-24 14:18 ` steven at gcc dot gnu dot org
  2005-05-07 15:27 ` steven at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: uros at kss-loka dot si @ 2005-01-24 11:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2005-01-24 11:16 -------
(In reply to comment #14)
> Where are we standing with this one today? 

gcc version 4.0.0 20050124 (experimental)

g++ -O3 -ffast-math y.cc
real    0m27.102s
user    0m26.980s
sys     0m0.016s

g++ -O3 -ffast-math -D__NO_MATH_INLINES y.cc
real    0m23.484s
user    0m23.307s
sys     0m0.076s

g++ -O3 -march=pentium4 -ffast-math -D__NO_MATH_INLINES y.cc
real    0m23.101s
user    0m23.014s
sys     0m0.078s

g++ -O3 -march=pentium4 -mfpmath=sse -ffast-math -D__NO_MATH_INLINES y.cc
real    0m31.650s
user    0m31.605s
sys     0m0.025s

g++ -O3 -march=pentium4 -mfpmath=sse -ffast-math y.cc
real    0m29.068s
user    0m28.863s
sys     0m0.023s

g++ -O3 -march=pentium4 -mfpmath=sse y.cc
real    0m35.343s
user    0m34.848s
sys     0m0.047s

g++ -O3 -march=pentium4 -mfpmath=sse -ffast-math -mno-80387 -D__NO_MATH_INLINES y.cc
*** FAILED: X422 = nan ***
real    2m56.700s
user    2m55.615s
sys     0m0.145s

g++ -O3 -march=pentium4 -mfpmath=sse -mno-80387 -D__NO_MATH_INLINES y.cc
*** TIMEOUT AFTER 3min ***

-mfpmath=sse runs a bit slow.
-mno-80387 IMHO generates wrong code.


-- 


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


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

* [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler
  2004-01-16 21:11 [Bug c++/13712] New: " william dot crocker at analog dot com
@ 2005-01-23 18:39 ` steven at gcc dot gnu dot org
  2005-01-24 11:16 ` uros at kss-loka dot si
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-23 18:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-23 18:39 -------
Where are we standing with this one today? 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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


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

end of thread, other threads:[~2006-02-27 14:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-13712-7730@http.gcc.gnu.org/bugzilla/>
2006-02-27 14:22 ` [Bug rtl-optimization/13712] Executable runs 25% slower than when compiled with INTEL compiler steven at gcc dot gnu dot org
2006-02-27 14:41 ` steven at gcc dot gnu dot org
2004-01-16 21:11 [Bug c++/13712] New: " william dot crocker at analog dot com
2005-01-23 18:39 ` [Bug rtl-optimization/13712] " steven at gcc dot gnu dot org
2005-01-24 11:16 ` uros at kss-loka dot si
2005-04-24 14:18 ` steven at gcc dot gnu dot org
2005-05-07 15:27 ` steven 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).