[PATCH v3] powerpc: Refactor fenvinline.h

Florian Weimer fweimer@redhat.com
Tue Feb 25 18:48:00 GMT 2020


* Tulio Magno Quites Machado Filho:

>> +    int __ret = 0;							      \
>>      if (__builtin_constant_p (__e)					      \
>> -        && (__e & (__e - 1)) == 0					      \
>> +        && (__builtin_popcount (__e) == 1)				      \
>
> I remember that Adhemerval disagreed with this particular change and I
> don't remember seeing any agreement there.

This is the powerof2 macro, by the way.

Thanks,
Florian



More information about the Libc-alpha mailing list