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

--- Comment #40 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Sebastian Peryt from comment #39)
> I have tested it on SKX with SPEC2006INT and SPEC2017INT and don't see any
> regressions.

I should have written that the patch only affects znver1 tuning by
default, so if you try to see what the effects are on on another
platform or with some other tuning, you need to add

--param avoid-fma-max-bits=128

or perhaps 256 if that is the preferred vector length with your tuning
(or even 512 on the most modern Intel CPUs?) to the command line.  It
would be interesting to see what the effects of that is on modern
Intel CPUs both on SPEC and the matrix.c example.

Meanwhile, I have submitted the patch to mailing list:

https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01053.html

Reply via email to