This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29549] matmul slow for complex matrices
- From: "jb at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2008 21:15:04 -0000
- Subject: [Bug fortran/29549] matmul slow for complex matrices
- References: <bug-29549-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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