Description: |
Returns the number of 1 bits in an integer. | ||

Class: |
Elemental function; Generic | ||

Arguments: |
I must be of type integer. | ||

Results: |
The result type is
the same as I. The result value is the number of 1 bits in the binary
representation of the integer I.
The model for the interpretation of an integer value as a sequence of bits is shown in Section D.3. |

**Examples**

If the value of I is B'0...00011010110', the value of POPCNT(I) is 5.

Previous Page Next Page Table of Contents