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

linuxl4 at sohu dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 15 15:49:00 GMT 2009



------- Comment #1 from linuxl4 at sohu dot com  2009-07-15 15:49 -------
My server is an atom330/gentoo

gfortran -v
GNU Fortran (GCC) 4.5.0 20090715 (experimental)
Copyright (C) 2009 Free Software Foundation, Inc.

gfortran 1.f90; time ./a.out
  4.28173363E+09

real    120m30.599s
user    120m29.164s
sys     0m0.464s


ifort 1.f90; time ./a.out
  4.3692155E+09

real    2m56.217s
user    2m55.871s
sys     0m0.352s

if I call the functions(sin,cos,tan) from intel's libimf.so, then
gfortran 1.f90 -limf
  4.31716608E+09

real    6m39.177s
user    6m38.289s
sys     0m0.512s


-- 

linuxl4 at sohu dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|this fortran program is too |this fortran program is too
                   |slow                        |slow


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



More information about the Gcc-bugs mailing list