[vlc-devel] [PATCH] configure: Support systems with popcount(3) and popcountll(3)

Kamil Rytarowski n54 at gmx.com
Sat Feb 24 12:24:29 CET 2018


On 24.02.2018 12:08, Kamil Rytarowski wrote:
> On 24.02.2018 08:20, Rémi Denis-Courmont wrote:
>> Le lauantaina 24. helmikuuta 2018, 9.19.14 EET Rémi Denis-Courmont a écrit :
>>> I'm pretty sure this breaks the test suite.
>>
>> Actually, it does not break the test suite; it does not apply.
>>
> 
> I've prepared it against
> https://git.videolan.org/git/vlc/vlc-3.0.git
> 
> I will try to rebase it to vlc HEAD.
> 
> 

In HEAD these functions were changed into a macro with C11 _Generic...

I can rename this macro and fallback functions to vlc_popcount()
vlc_popcountll() and for NetBSD call internally the libc functions and
fallback to __builtin_ for others.

Does it sound OK?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180224/104b8870/attachment.sig>


More information about the vlc-devel mailing list