------- Comment #12 from jvdelisle at gcc dot gnu dot org 2006-05-02 05:01 ------- With: $ gfc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../main/configure --prefix=/home/jerry/gcc/usr --enable-languages=c,fortran --disable-libmudflap Thread model: posix gcc version 4.2.0 20060424 (experimental)
$ gfc -O2 -march=pentium4 test-optimize.f90 <gfortran $ ./a.out 4.440892098500626E-016 0.748046000000000 0.544034000000000 $ ifc -O2 test-optimize.f90 <intel $ ./a.out 0.000000000000000E+000 0.460028000000000 0.436027000000000 Still a lot of room for improvement here. The bottom left number is time using matmul and the right is time hardcoded. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17088