[Bug fortran/37131] inline matmul for small matrix sizes

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 9 22:13:00 GMT 2008



------- Comment #7 from tkoenig at gcc dot gnu dot org  2008-12-09 22:12 -------
Created an attachment (id=16866)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16866&action=view)
better test case

Thou shalt use IMPLICIT none, especially if you think you don't need it...

Here's a better test case, which actually tests the right thing.

Timings with 4.4 on i686-pc-linux-gnu:

 matmul =    15.596974      s
 subroutine with explicit interface:    3.6842318      s
 unrolled subroutine with explicit interface:    3.3522091      s
 inline with sum   3.3602085      s


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16134|0                           |1
        is obsolete|                            |


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



More information about the Gcc-bugs mailing list