[Bug target/56253] fp-contract does not work with SSE and AVX FMAs (neither FMA4 nor FMA3)

agner at agner dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 23 19:14:00 GMT 2014


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

--- Comment #9 from Agner Fog <agner at agner dot org> ---
Many programmers are using a vector class library rather than writing intrinsic
functions directly. Such libraries have overloaded operators which are inlined
to produce intrinsic functions. Therefore, we cannot expect programmers to make
optimizations like FMA contraction, algebraic reduction, constant propagation,
etc. manually.

I don't know if this more general discussion of optimizations on code with
intrinsics fit into this bug or they need to be discussed elsewhere?



More information about the Gcc-bugs mailing list