This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] RFC for patch to add C99 fma/fmaf/fmal builtins
On Wed, Oct 06, 2010 at 01:17:12AM +0200, Andreas Schwab wrote:
> Michael Meissner <meissner@linux.vnet.ibm.com> writes:
>
> > Index: gcc/doc/md.texi
> > ===================================================================
> > --- gcc/doc/md.texi (.../svn+ssh://meissner@gcc.gnu.org/svn/gcc/trunk) (revision 164954)
> > +++ gcc/doc/md.texi (working copy)
> > @@ -3948,6 +3948,16 @@ means of constraints requiring operands
> > @itemx @samp{and@var{m}3}, @samp{ior@var{m}3}, @samp{xor@var{m}3}
> > Similar, for other arithmetic operations.
> >
> > +@cindex @code{fma@var{m}4} instruction pattern
> > +@item @samp{fma@var{m}4}
> > +Multiply operand 2 and operand 1, then add operand 3, storing the
> > +result in operand 0. All operands must have mode @var{m}. This
> > +pattern is used to implement the @code{fma}, @code{fmas}, and
>
> s/fmas/fmaf/
Thanks. Yes, I seem to have a mental block on that, since the ppc instruction
ends in 's', but the builtin function ends in 'f'.
--
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meissner@linux.vnet.ibm.com