This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] powerpc: Refactor fenvinline.h
- From: Florian Weimer <fweimer at redhat dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>
- Cc: Rogerio Alves <rcardoso at linux dot ibm dot com>, libc-alpha at sourceware dot org, adhemerval dot zanella at linaro dot org, pc at us dot ibm dot com
- Date: Tue, 25 Feb 2020 19:48:26 +0100
- Subject: Re: [PATCH v3] powerpc: Refactor fenvinline.h
- References: <20200210150902.129948-1-rcardoso@linux.ibm.com> <87pne2v84a.fsf@linux.ibm.com>
* 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