[2/2] iphlpapi: Use the new version of the IP_ADAPTER_UNICAST_ADDRESS structure (try 2)
hverbeet at gmail.com
Fri Jan 13 09:02:05 CST 2017
On 13 January 2017 at 15:52, André Hentschel <nerv at dawncrow.de> wrote:
> Thank you both for the hints.
> One thing is that popcount would count all 1s even with 0s in between, whereas this function stops at the first 0.
Yeah, the strict equivalent would be something along the lines of
"__builtin_clz(~mask)". But as you mentioned, there's the question
what should happen with broken/special masks.
More information about the wine-devel