Re: [PATCH v2 10/30] Add x86-specific parity functions

From: Borislav Petkov
Date: Thu Apr 07 2016 - 05:41:23 EST


On Thu, Apr 07, 2016 at 11:55:22AM +0800, Zeng Zhaoxiu wrote:
> __sw_parity32 is faster than __sw_hweight32.
> I don't know how many CPUs do not support the popc, if they are outdated,
> use __arch_hweight32 is the easiest way.

I don't really understand what you're trying to tell me here. And it's
not like I didn't try.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--