[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160419184501.13069.qmail@ns.horizon.com>
Date: 19 Apr 2016 14:45:01 -0400
From: "George Spelvin" <linux@...izon.com>
To: linux-kernel@...r.kernel.org, zengzhaoxiu@....com
Cc: akpm@...ux-foundation.org, arnd@...db.de, dvlasenk@...hat.com,
linux-arch@...r.kernel.org, linux@...izon.com, martink@...teo.de,
mingo@...nel.org, sasha.levin@...cle.com, yury.norov@...il.com,
zhaoxiu.zeng@...il.com
Subject: Re: [PATCH V3 01/29] bitops: add parity functions
> Add generic odd parity functions, adapted from
> "https://graphics.stanford.edu/~seander/bithacks.html#ParityParallel"
Given a PARITY_MAGIC of 0x6996, this is even parity, not odd.
(Which it should be; an XOR of all bits is the "natural" form.)
Powered by blists - more mailing lists