From: Toon Moene <toon@moene.org>
To: Thomas Koenig <tkoenig@netcologne.de>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch, fortran] Inline MATMUL(A,TRANSPOSE(B)), PR 66094
Date: Mon, 18 Jan 2016 19:56:00 -0000 [thread overview]
Message-ID: <569D434C.7050404@moene.org> (raw)
In-Reply-To: <569B8CAF.8020207@netcologne.de>
On 01/17/2016 01:44 PM, Thomas Koenig wrote:
> So... comments? Toon, would this help you? Could yo maybe give this
> a spin?
Thanks, the nightly test at my home computer will build with your patch.
> 2016-01-17 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/66094
> * frontend-passes.c (enum matrix_case): Add case A2B2T for
> MATMUL(A,TRANSPoSE(B)) where A and B are rank 2.
> (inline_limit_check): Also add A2B2T.
> (matmul_lhs_realloc): Handle A2B2T.
> (check_conjg_variable): Rename to
> (check_conjg_transpose_variable): and also count TRANSPOSE.
> (inline_matmul_assign): Handle A2B2T.
It will also perform the following tests (minus the
"inline_matmul_13.f90" one, which wasn't included in the attachements :-)
> 2016-01-17 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/66094
> * gfortran.dg/inline_matmul_13.f90: New test.
> * gfortran.dg/matmul_bounds_8.f90: New test.
> * gfortran.dg/matmul_bounds_9.f90: New test.
> * gfortran.dg/matmul_bounds_10.f90: New test.
Unfortunately, running the whole of our weather forecasting system with
gcc-6 will be *a lot of work*, because I have to build all kinds of
support libraries (for which I now depend on Debian Testing) by hand.
But I hope just testing your examples will at least give you an idea (on
-march=haswell).
Thanks, and kind regards,
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
next prev parent reply other threads:[~2016-01-18 19:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-17 12:44 Thomas Koenig
2016-01-18 19:56 ` Toon Moene [this message]
2016-01-18 22:14 ` Thomas Koenig
2016-01-18 22:25 ` Toon Moene
2016-01-19 19:04 ` Toon Moene
2016-01-23 12:26 ` Thomas Koenig
2016-01-23 23:06 ` Jerry DeLisle
2016-01-24 14:44 ` Toon Moene
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=569D434C.7050404@moene.org \
--to=toon@moene.org \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=tkoenig@netcologne.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).