to perform an appropriate transpose of the data, in blocks
that suit the processor and the ISA capacity.
-
+Fig.3 depicts how the data is divided into blocks of 8*8-bit.
+
<img src="/openpower/sv/cookbook/BlockDivision.drawio.svg"
alt="pospopcnt" width="70%" />
-<br />
+Fig.4 shows that a transpose is needed on each block.
+gbbd instruction is used for implementing the transpose
+function.
<img src="/openpower/sv/cookbook/Transpose.drawio.svg"
alt="pospopcnt" width="60%" />
+
<img src="/openpower/sv/cookbook/PopcountBlocks.drawio.svg"
alt="pospopcnt" width="70%" />