[PATCH] powerpc: Fix feraiseexcept and feclearexcept macros

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Mar 4 18:30:00 GMT 2020



On 04/03/2020 14:47, Florian Weimer wrote:
> * Matheus Castanho:
> 
>>> __builtin_popcount (e) == 1 does not
>>> seem to be unreasonable to express this condition.
>>>
>>
>> Adhemerval and Florian, apart from the discussion to remove or not
>> fenvinline.h altogether, could we push this commit? This header is
>> currently in a broken state and I'd like to fix it for the time being.
> 
> I think the patch is okay, but please also wait for Adhemerval's
> comments.
> 
> I'd also be okay with powerof2 and a zero check.  I agree that we should
> fix this soon.

I am fine with this patch as is, since either solution is fine. I will
probably send a patch to just remove the fenvinline to start the
discussion whether it is worth to keep continuing provide such
optimization.



More information about the Libc-alpha mailing list