[Bug fortran/37131] inline matmul for small matrix sizes

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 3 19:56:00 GMT 2014


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.



More information about the Gcc-bugs mailing list