Re: [PATCH 10/31] Add sparc-specific parity functions

From: David Miller
Date: Mon Mar 28 2016 - 11:47:06 EST


From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Mon, 28 Mar 2016 17:37:43 +0200

> If popc is availble then use of hweight* should be fine.
> But without popc then I think the generic implementation that
> uses the stanford algorithm would be most efficient,
> rather than the base this on the generic hweight functions.

Agreed.