This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] Handle MATMUL(TRANSPOSE(A),B) in inline matmul
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Jerry DeLisle <jvdelisle at charter dot net>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 24 May 2017 20:52:21 +0200
- Subject: Re: [patch, fortran] Handle MATMUL(TRANSPOSE(A),B) in inline matmul
- Authentication-results: sourceware.org; auth=none
- References: <619ade24-e4ce-82b0-9214-533feb74941c@netcologne.de> <f412158e-29e3-9094-d8b3-330291fa52f9@charter.net>
Hi Jerry,
On 05/17/2017 02:41 PM, Thomas Koenig wrote:
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?
OK and thanks for patch.
Committed as rev. 248425.
Thanks for the review!
I am going to close PR 66094 now. Any other cases
would be silly. With a vector v and a matrix a,
matmul(transpose(a),v) can be replaced by matmul(v,a)
matmul(v,transpose(a)) can be replaced by matmul(a,v)
And as for matmul(transpose(a), transpose(b)), well...
Regards
Thomas