Population Parity 8 Bytes (POPPAR8)

Instruction Syntax

Bound Program Access
Built-in number for POPPAR8 is 709.
POPPAR8 (                                                                       
           source : unsigned binary(8)                                             
) : unsigned binary(4)    /* result */                                             

Description:

The least significant, i.e. rightmost, bit in each byte of the source operand is examined. If an odd number of these bits are set to a value of binary 1, a value of 1 is returned in result. Otherwise, a value of 0 is returned in result.

Usage Note: The Population Parity instructions are designed to be used in conjunction with the Population Count instructions to compute the parity of 4 or 8 byte data values.

Authorization Required

  • None

Lock Enforcement

  • None

Exceptions

  • None