This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]