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

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


On 24.02.2018 12:24, Kamil Rytarowski wrote:
> 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?
> 

And since the already submitted patch is prepared for 3.0, could we
please merge it with 3.0?

I will prepare appropriate patch for HEAD once we will agree on the
approach.

-------------- 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/6e3c2678/attachment.sig>


More information about the vlc-devel mailing list