public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/106565] Using a transposed matrix in matmul (GCC-10.3.0) is very slow Date: Tue, 09 Aug 2022 07:50:02 +0000 [thread overview] Message-ID: <bug-106565-4-skZ958rSPj@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106565-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106565 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-08-09 Known to fail| |12.1.0 Status|UNCONFIRMED |NEW Keywords| |missed-optimization Ever confirmed|0 |1 Version|unknown |10.3.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed also with gfortran 12. The issue is that with the combined matmul+transpose we invoke matmul with an array descriptor representing the transpose operation which results in suboptimal memory access patterns. Can you check whether ifort does the transpose separately or whether its matmul library routine simply special-cases the situation?
next prev parent reply other threads:[~2022-08-09 7:50 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-08 20:04 [Bug fortran/106565] New: " quanhua.liu at noaa dot gov 2022-08-09 7:50 ` rguenth at gcc dot gnu.org [this message] 2022-08-09 14:01 ` [Bug fortran/106565] " quanhua.liu at noaa dot gov 2022-08-09 15:07 ` kargl at gcc dot gnu.org 2022-08-09 15:08 ` kargl at gcc dot gnu.org 2022-08-09 17:14 ` quanhua.liu at noaa dot gov 2022-08-09 17:17 ` quanhua.liu at noaa dot gov 2022-08-09 17:51 ` sgk at troutmask dot apl.washington.edu 2022-08-09 17:53 ` sgk at troutmask dot apl.washington.edu 2022-08-09 17:55 ` sgk at troutmask dot apl.washington.edu 2022-08-09 18:20 ` quanhua.liu at noaa dot gov
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=bug-106565-4-skZ958rSPj@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).