This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37131] inline matmul for small matrix sizes
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Oct 2014 19:56:18 +0000
- Subject: [Bug fortran/37131] inline matmul for small matrix sizes
- Auto-submitted: auto-generated
- References: <bug-37131-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131
--- Comment #16 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #15)
> Hi Mikael,
>
> do you think you can do this using the scalarizer?
>
Not in its current state.
And as I don't see the scalarizer being changed soon to allow it, you're better
off trying with the frontend optimization framework.
I thought inlining sum with the scalarizer would make inlining matmul easy
because it would allow the scalarizer to support arrays as result of nested
reductions.
But matmul is different from sum, so it's actually not that easy.