This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New insns for the s390 backend (2)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, Bradley Lucier <lucier at math dot purdue dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 Aug 2003 18:29:51 -0600 (MDT)
- Subject: Re: New insns for the s390 backend (2)
Hi Richard,
On Wed, 27 Aug 2003, Richard Henderson wrote:
> On Wed, Aug 27, 2003 at 12:19:12PM -0600, Roger Sayle wrote:
> > . Perhaps a safer approach is a __builtin_fmadd (perhaps
> > even on all platforms using a default mult-then-add implementation
> > when a special isnsn isn't available), and then guard the implicit
> > use of fmadd with flag_unsafe_math_optimization.
>
> We should have this at minimum because of c99's fma function.
Oops! You walked right into that one... Just like the fma builtin
in Kaveh's C99 math builtins patch, which is awaiting review at:
http://gcc.gnu.org/ml/gcc-patches/2003-08/msg00309.html
Many thanks in advance :>
Roger
--