([[!wikipedia Hamming weight]]) on an array of values, horizontally,
however positional popcount is different (vertical)
-<img src="/openpower/sv/cookbook/1_popcount.svg" alt="pospopcnt" width="70%" />
+
Positional popcount adds up the totals of each bit set to 1 in each
bit-position, of an array of input values.
-<img src="/openpower/sv/cookbook/2_popcount.svg" alt="pospopcnt" width="70%" />
-
<img src="/openpower/sv/cookbook/ArrayPopcnt.drawio.svg"
alt="pospopcnt" width="70%" />
-<img src="/openpower/sv/cookbook/ArrayPopcount.svg"
- alt="pospopcnt" width="70%" />
-<img src="/openpower/sv/cookbook/BlockDivision.drawio.svg"
- alt="pospopcnt" width="70%" />
-<img src="/openpower/sv/cookbook/ParallelAccumulate.drawio.svg"
- alt="pospopcnt" width="70%" />
-<img src="/openpower/sv/cookbook/PopcountBlocks.drawio.svg"
- alt="pospopcnt" width="70%" />
+
<img src="/openpower/sv/cookbook/PositionalPopcnt.drawio.svg"
+ alt="pospopcnt" width="60%" />
+
+<img src="/openpower/sv/cookbook/BlockDivision.drawio.svg"
alt="pospopcnt" width="70%" />
-<img src="/openpower/sv/cookbook/PositionalPopcount.svg"
- alt="pospopcnt" width="70%" />
+
<img src="/openpower/sv/cookbook/Transpose.drawio.svg"
+ alt="pospopcnt" width="60%" />
+
+
+<img src="/openpower/sv/cookbook/PopcountBlocks.drawio.svg"
alt="pospopcnt" width="70%" />
+<img src="/openpower/sv/cookbook/ParallelAccumulate.drawio.svg"
+ alt="pospopcnt" width="100%" />
+
+
# Visual representation of the pospopcount algorithm
# Walkthrough of the assembler