This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/40766] this fortran program is too slow



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]