This is the mail archive of the gcc@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: Optimizing hypot()


On Thu, 24 Jul 2003, Kaveh R. Ghazi wrote:
>  > I think hypot2 could be improved much, if it is recognized as builtin
>  > and optimized for sse/sse2. Is someone working on such
>  > transformations?
>
> 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.

No problem, I'd be happy to.  I've added these three to my list of
builtins to add to GCC.  I've one or two more builtins clean-up
patches to submit first, including a realphabetization of
builtins.def, after which I was planning to add several more math
builtins anyway.

Many thanks for the suggestion(s).

Roger
--
Roger Sayle,                         E-mail: roger@eyesopen.com
OpenEye Scientific Software,         WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road,     Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507.         Fax: (+1) 505-473-0833


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