This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add FMA_EXPR, un-cse multiplications before expansion


On Oct 21, 2010, at 18:14, Joseph S. Myers wrote:
> (It might make sense to add -ffp-contract={on,off,fast} at an early stage, 
> with "off" disabling the GIMPLE-level FMA formation.  Implementation of 
> the pragma, and distinguishing "on" (C99-conforming, contracting 
> restricted to source expressions) from "fast" (no such restriction on 
> contracting, the present state) could follow later.)

Yes, that would be great. It is essential for some numerical code to
avoid automatic contractions. As such code is typically library code
that is compiled separately, it would be acceptable to have a compile-time
option for now.

Can't wait for pragma STDC FP_CONTRACT implementation, as well as working
fma{,f,l} implementations! :-)

Regards,
   -Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]