------- Comment #18 from dominiq at lps dot ens dot fr  2007-03-21 16:09 -------
> It would be nice to know whether darwin does not implement cexp in an optimal 
> way ...

I have forgotten to mention that I did some (quick) profiling: cexp seens
trivially implemented.
It calls sin, cos and exp + the ABI problem mentionned by Andrew.  It seems
that any 
inplementation of cexp calling sin and cos would at best lead to a draw and
more likely to
a regression in timing.  Now I cannot rule out that on some platforms cexp is
implemented
in a clever way, using some kind of sincos alrgorithm (this is what I would
like to know).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31249

Reply via email to