This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizing hypot()
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: rguenth at tat dot physik dot uni-tuebingen dot de
- Cc: gcc at gcc dot gnu dot org, roger at eyesopen dot com
- Date: Thu, 24 Jul 2003 00:25:33 -0400 (EDT)
- Subject: Re: Optimizing hypot()
- References: <Pine.LNX.4.44.0307240017310.612-100000@goofy>
> I think hypot2 could be improved much, if it is recognized as builtin
> and optimized for sse/sse2. Is someone working on such
> transformations?
> Thanks,
> Richard.
Roger Sayle has done a lot of work recently on builtin math functions,
perhaps we can impose on him a bit more to do this too.
IMHO hypot, cbrt and perhaps ldexp are ripe for picking next.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu