PATCH: optimized sincosf with SSE for x86_64 and x86_32

Rich Felker dalias@aerifal.cx
Sat Sep 8 20:33:00 GMT 2012


On Sat, Sep 08, 2012 at 11:07:11PM +0400, Dmitrieva Liubov wrote:
> I propose a big patch with the following new features and fixes:
> 
> 1. SSE optimized sincosf for x86_64 with excellent performance results.
> 2. SSE optimized sincosf for x86_32 with excellent performance results.
> 3. Some minor fixes in already merged sinf and cosf (unwind info and
> the description of special cases in the comment).
> 4. Fix latent bugs we have already discussed  regarding with wrong
> using of sincosf routine for subnormal arguments.
> 
> The patch is attached.

Is this doing correct range reduction? Considering how many times the
range reduction has been broken by optimizations, it would be nice if
the comments document that it's being done correctly...

Rich



More information about the Libc-alpha mailing list