在 2016年04月20日 02:45, George Spelvin 写道:
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.)
From "http://www.encyclopedia.com/doc/1O11-oddparity.html", we can get
the definition of "odd parity":
odd parity A property that holds when a group of binary values contains an odd number of 1s.
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html