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/29549] matmul slow for complex matrices



------- Comment #14 from jb at gcc dot gnu dot org  2008-02-26 21:15 -------
Closing as fixed. Timings for a small test program comparing matrix
multiplication done manually vs. libgfortran for real and complex.

Results without the committed patch (-O3 -funroll-loops, 1.6 GHz Pentium-M):

Manual real:   0.2140
Real matmul:   0.2390
Complex manual:   0.8259
Complex matmul:   3.8654

with the patch:

Manual real:   0.2130
Real matmul:   0.2520
Complex manual:   0.8149
Complex matmul:   0.8099

I.e. almost a factor of five speedup.


-- 

jb at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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