This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40766] this fortran program is too slow
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2009 18:50:45 -0000
- Subject: [Bug fortran/40766] this fortran program is too slow
- References: <bug-40766-15353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dominiq at lps dot ens dot fr 2009-07-15 18:50 -------
> can anybody confirm?
On a 2.1Ghz core2duo, i686-apple-darwin, I get:
[ibook-dhum] bug/timing% gfc -m64 -O3 -ffast-math pr40766_db.f90
[ibook-dhum] bug/timing% time a.out
4.36921651E+09
157.568u 0.454s 2:38.39 99.7% 0+0k 0+0io 27pf+0w
[ibook-dhum] bug/timing% gfc -m64 -O3 -mfpmath=sse,387 -ffast-math
pr40766_db.f90
[ibook-dhum] bug/timing% time a.out
6.78342144E+08
127.528u 0.411s 2:08.08 99.8% 0+0k 0+0io 0pf+0w
[ibook-dhum] bug/timing% time a.out
4.3692155E+09
31.441u 0.288s 0:31.79 99.7% 0+0k 0+0io 1pf+0w
So depending on the options, only a factor 4 to 5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40766