Subject: single-precision "expf" super slow on x86-64??

Miles Bader miles@gnu.org
Sun Apr 29 05:39:00 GMT 2012


[...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.



More information about the Libc-help mailing list