https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83661

--- Comment #6 from Christophe Monat <christophe.monat at st dot com> ---
(In reply to Alexander Monakov from comment #5)
> sincos performs range reduction for the argument just once, which is fairly
> important. A well-optimized sincos also shares some computations for the
> sin/cos parts, as done in
> https://github.com/ARM-software/optimized-routines/blob/master/math/sincosf.c

Thanks for the pointer, indeed this implementation looks great.

@Pratamesh #Linaro: is there synchronization between the ARM optimized routines
and the usuals libc (glibc, newlib, musl,...) ?

(snip)

> (fwiw I'm against adding such transforms to the compiler)

I would favor upgrading the routines if it's not already done, and not do any
such transformation in the compiler.

Reply via email to