This is the mail archive of the libc-help@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: Subject: single-precision "expf" super slow on x86-64??


[...resend, because gmane is being stupid...]

Paul Pluzhnikov <ppluzhnikov-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
writes:
>> Hi, I've run into the following very odd behavior:
>>
>> On my debian x86-64 system, the single-precision "expf" function seems
>> to be about six times _slower_ than the double-precision "exp"
>> function!
>
> This has very likely been fixed by
> http://sources.redhat.com/git/?p=glibc.git;a=commitdiff;h=39adf059fccb7333f61a488d73172b0d8aa2d580

Was there previously an optimized version of "exp", but not "expf"
(since "exp" is already much faster)?

Thanks,

-miles

-- 
Cat is power. ?Cat is peace.


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