[patch, fortran] Handle MATMUL(TRANSPOSE(A),B) in inline matmul
Thomas Koenig
tkoenig@netcologne.de
Wed May 17 21:41:00 GMT 2017
Hello world,
after receiving no negative feedback on my RFC patch, I have deciced
to submit the patch.
The attached patch handles MATMUL(TRANSPOSE(A),B) in inlining matmul.
Speed is a bit faster than the library version.
Regression-tested. OK for trunk?
Regards
Thomas
2017-05-17 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66094
* frontend-passes.c (matrix_case): Add A2TB2.
(inline_limit_check): Handle MATMUL(TRANSPOSE(A),B)
(inline_matmul_assign): Likewise.
2017-05-17 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66094
* gfortran.dg/inline_matmul_16.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_matmul_16.f90
Type: text/x-fortran
Size: 2080 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170517/3100d655/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 5247 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170517/3100d655/attachment-0001.bin>
More information about the Fortran
mailing list