This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix math functions triggering invalid exceptions
On 02/15/2012 07:45 PM, Aurelien Jarno wrote:
>
>> Please hold up on checking this in. We'd like some time to
>> investigate the performance implications of these additional
>> comparisons which very well may be unnecessary on Power.
>>
> I haven't look at the generated code, but at the assembly level it
> should simply replace the fcmpo instruction by fmcpu. I doubt it
> will make any change on the performance side.
>
I checked the generated assembly and on -O2 and higher isgreater/isless/isgreater is
the same of a normal FP comparison. I believe this patch is OK for PPC.