[Bug fortran/68600] Inlined MATMUL is too slow.

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 2 21:07:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68600

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---

> I took the example code found in
> http://wiki.cs.utexas.edu/rvdg/HowToOptimizeGemm/ where the register based
> vector computations are explicitly called via the SSE registers and
> converted it to use the builtin gcc vector extensions.  I had to experiment
> a little to get some of the equivalent operations of the original code.

Nice one, I think we can use this as a basis for a new library
function in 7.1.

It probably will be necessary to add some zero-padding in some places
where the matix dimensions are not divisible by four.


More information about the Gcc-bugs mailing list