[patch, fortran, RFC] First steps towards inlining matmul

Thomas Koenig tkoenig@netcologne.de
Thu Apr 9 22:18:00 GMT 2015


Hello world,

here is an update on the matmul inlining patch.  Now, the
rank one + rank two cases are also handled.  Reallocation
on assignment also works now.

Still missing:

1. Control via an option, BLAS inlining has to take precedence
2. handling of matmul(a,b) occurring in the middle of an expression.
3. Bounds checking from the front end pass (basically, calling
   gfortran_runtime_error).
4. More test cases

What do you think?  1. is straightforward, we don't really need to
do 2. for committing early in stage one.  For 3, we could maybe
just issue a STOP.  4. is required, I need to look at some more
corner cases where bugs may still be lurking.

What do you think?

	Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: matmul-8.diff
Type: text/x-patch
Size: 27830 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150409/52eb4525/attachment.bin>


More information about the Fortran mailing list