[Bug tree-optimization/94212] [8/9/10 Regression] Incorrect vectorization of loop with FP calculations

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 18 15:14:30 GMT 2020


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Dmitrij Pochepko from comment #6)
> Just checked: non-vectorized assembly for aarch64 (O2) is using fmadd and
> fmsub intensively.

Try with -ffp-contract=off then.  Note due to effective unrolling of
the loop with vectorization we might end up forming "different" fmadd
groups.  So you might also want to check whether the vectorized loop still
sees fmadd use.


More information about the Gcc-bugs mailing list