This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] Include s_sin.c in s_sincos.c


On Tue, 17 Nov 2015, Siddhesh Poyarekar wrote:

> Include the __sin and __cos functions as local static copies to allow
> deper optimization of the functions.  This change shows an improvement
> of about 17% in the min case and 12.5% in the mean case for the sincos
> microbenchmark on x86_64.

OK.  I imagine there should be more optimization scope from sharing the 
range reduction between sin and cos, though that might be harder given how 
the code is structured.

-- 
Joseph S. Myers
joseph@codesourcery.com


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