public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/8474] -mcpu=i686 produces much faster code than -mcpu=pentium4 on a P4 machine
       [not found] <20021105233600.8474.davejf@starband.net>
@ 2003-06-04 17:35 ` dhazeghi@yahoo.com
  2003-12-30  3:50 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 2+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-04 17:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|dhazeghi@yahoo.com          |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|                            |i386-redhat-linux
   GCC host triplet|                            |i386-redhat-linux
 GCC target triplet|                            |i386-redhat-linux
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-04 17:35:25
               date|                            |
            Version|unknown                     |3.3


------- Additional Comments From dhazeghi@yahoo.com  2003-06-04 17:35 -------
Should be marked NEW per earlier information received.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug optimization/8474] -mcpu=i686 produces much faster code than -mcpu=pentium4 on a P4 machine
       [not found] <20021105233600.8474.davejf@starband.net>
  2003-06-04 17:35 ` [Bug optimization/8474] -mcpu=i686 produces much faster code than -mcpu=pentium4 on a P4 machine dhazeghi@yahoo.com
@ 2003-12-30  3:50 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30  3:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 03:06 -------
On my pentium 4 2 GHz on the mainline, it is fixed:
tin:~/src/gnu/gcctest/pr8474>./a.out 
whetstone took: 0.94 secs for 1064 MFLOPS (w/  math lib)
whetstone took: 0.23 secs for 4348 MFLOPS (w/o math lib)
tin:~/src/gnu/gcctest/pr8474>gcc -O3 whetstone.cpp -mcpu=pentium4 -O3 -ffast-math -
fmove-all-movables -fomit-frame-pointer -funroll-loops -lm
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
tin:~/src/gnu/gcctest/pr8474>./a.out 
whetstone took: 0.95 secs for 1053 MFLOPS (w/  math lib)
whetstone took: 0.22 secs for 4545 MFLOPS (w/o math lib)
tin:~/src/gnu/gcctest/pr8474>./a.out
whetstone took: 0.94 secs for 1064 MFLOPS (w/  math lib)
whetstone took: 0.23 secs for 4348 MFLOPS (w/o math lib)

.01 is the error margin.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


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


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

end of thread, other threads:[~2003-12-30  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021105233600.8474.davejf@starband.net>
2003-06-04 17:35 ` [Bug optimization/8474] -mcpu=i686 produces much faster code than -mcpu=pentium4 on a P4 machine dhazeghi@yahoo.com
2003-12-30  3:50 ` 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).