[PATCH] Fix math functions triggering invalid exceptions

Adhemerval Zanella azanella@linux.vnet.ibm.com
Wed Feb 15 23:39:00 GMT 2012


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. 




More information about the Libc-alpha mailing list