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: optimized libm single precision routines: erfcf, erff,expf for x86_64.


This time with attachment.

On Wed, Feb 22, 2012 at 10:14, Ulrich Drepper <drepper@gmail.com> wrote:
> On Tue, Feb 21, 2012 at 15:32, Dmitrieva Liubov
> <liubov.dmitrieva@gmail.com> wrote:
>> The updated attached version is significantly hand-tuned assembler code.
>> We are looking forward to accepting and releasing this change.
>
> At least the changes made to the attached version should be made.
> They are small but save another cycle or two.
>
> I don't see why the computation of j has to be that complicated. Â6
> bits are taken from the mantissa. ÂThese are then interpreted as a
> signed value. ÂWhy? ÂI know it works but is there really a reason?
>
> If the bits are considered are unsigned that computation for the
> access of the array DP_T as well as the computation of Ân*k are
> simpler (only AND, no shifting and subtracting). ÂThe algo has to be
> adapted but this should be possible. ÂI think nobody really paid
> attention to that since the DP_T table was too large (it had 65
> entries!).

Attachment: e_expf.S
Description: Binary data


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