There should be a flag for replacing our home-grown matmul and dot_product with calls to BLAS. If the user has installed an optimized BLAS version, this could be a huge win.
There was some discussion of this on the mailing list, but no PR that I could find. Something like -fblas-intrinsics (and -fblas-f2c, for complex) would be good. -- Summary: Optionally use BLAS for matmul Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26025