[patch, fortran] Enable FMA for AVX2 and AVX512F for matmul

Janne Blomqvist blomqvist.janne@gmail.com
Thu Mar 2 07:32:00 GMT 2017


On Wed, Mar 1, 2017 at 11:00 PM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> the attached patch enables FMA for the AVX2 and AVX512F variants of
> matmul.  This should bring a very nice speedup (although I have
> been unable to run benchmarks due to lack of a suitable machine).

In lieu of benchmarks, have you looked at the generated asm to verify
that fma is actually used?

> Question: Is this still appropriate for the current state of trunk?

Yes, looks pretty safe.



-- 
Janne Blomqvist



More information about the Gcc-patches mailing list