This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH] implement fma() as builtin x87 or SSE intrinsic
- From: Falk Hueffner <hueffner at informatik dot uni-tuebingen dot de>
- To: Uros Bizjak <uros at kss-loka dot si>
- Cc: gcc-patches at gcc dot gnu dot org, Roger Sayle <roger at eyesopen dot com>
- Date: Fri, 07 May 2004 13:09:27 +0200
- Subject: Re: [RFC PATCH] implement fma() as builtin x87 or SSE intrinsic
- References: <409B5031.5080000@kss-loka.si>
Uros Bizjak <uros@kss-loka.si> writes:
> This RFC patch implements fma() function as builtin x87 or SSE
> intrinsic.
It seems fma simply does x * y + z. Wouldn't it be more sensible to
expand this in some machine-independent part and rely on the
machine-depentend part to reassemble it to something sensible? That
would save some code and it could also be picked up if the user really
wrote x * y + z.
--
Falk