[Bug regression/93009] AVX512 FMA - wrong code generation

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 19 17:47:00 GMT 2019


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why do you think it is wrong?  As documented, -ffp-contract= defaults to
-ffp-contract=fast, which allows contraction and so on x * y + z etc. fma can
be used instead.  For most of code, it doesn't make a significant difference,
but of course there are various cases where it makes a significant difference. 
If some code relies on contraction not happening, you should use
-ffp-contract=off.


More information about the Gcc-bugs mailing list