This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37131] inline matmul for small matrix sizes
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2008 22:12:20 -0000
- Subject: [Bug fortran/37131] inline matmul for small matrix sizes
- References: <bug-37131-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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