Messages in this thread | | | Date | Fri, 15 Apr 2016 04:11:02 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v2 10/30] Add x86-specific parity functions |
| |
On Mon, Apr 11, 2016 at 10:43:32AM +0800, Zeng Zhaoxiu wrote: > I don't know where the errors. X86 is new to me.
Ok, let me try again by pasting here the relevant text from the manual:
"Parity Flag (PF). Bit 2. Hardware sets the parity flag to 1 if there is an even number of 1 bits in the least-significant byte of the last result of certain operations. Otherwise (i.e., for an odd number of 1 bits), hardware clears the flag to 0. Software can read the flag to implement parity checking."
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
| |