From: shriya Date: Wed, 6 Dec 2023 15:00:28 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55b54edcf4cefd0cdc0103b1ad3bee318bace2a4;p=libreriscv.git --- diff --git a/openpower/sv/cookbook/pospopcnt.mdwn b/openpower/sv/cookbook/pospopcnt.mdwn index 0bd79e478..8d6e2a117 100644 --- a/openpower/sv/cookbook/pospopcnt.mdwn +++ b/openpower/sv/cookbook/pospopcnt.mdwn @@ -83,16 +83,20 @@ is to add *vertically*. Part of the challenge is therefore 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. + pospopcnt -
+Fig.4 shows that a transpose is needed on each block. +gbbd instruction is used for implementing the transpose +function. pospopcnt + pospopcnt