From 55b54edcf4cefd0cdc0103b1ad3bee318bace2a4 Mon Sep 17 00:00:00 2001 From: shriya Date: Wed, 6 Dec 2023 15:00:28 +0000 Subject: [PATCH] --- openpower/sv/cookbook/pospopcnt.mdwn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.30.2