This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] Fix PR 69154, inline matmul with WHERE
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Toon Moene <toon at moene dot org>, fortran at gcc dot gnu dot org
- Date: Tue, 12 Jan 2016 00:01:55 +0100
- Subject: Re: [patch, fortran] Fix PR 69154, inline matmul with WHERE
- Authentication-results: sourceware.org; auth=none
- References: <5692469F dot 8090906 at netcologne dot de> <56942582 dot 7000307 at moene dot org>
Hi Toon,
Am I correct in assuming that your inlining of MATMUL only treats the
form MATMUL(A, B) and not MATMUL(A, TRANSPOSE(B)) ?
Our code has about half of one and half of the other ...
This is, currently, correct, as Steve pointed out.
I have been doing some work on extending this to TRANSPOSE, but have
gotten sidetracked by other things in real life...
Basically, it would mean extending check_conjg_variable to look for
uneven numbers of TRANSPOSE as well, and then change the DO loops
and scalarization accordingly.
This is the subject of PR 66904.
Too late for 6.1, unfortunatly.
Regards
Thomas