From: shriya Date: Wed, 6 Dec 2023 14:39:43 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51de093934bd4157b264fba97e7bc8ae937517c7;p=libreriscv.git --- diff --git a/openpower/sv/cookbook/pospopcnt.mdwn b/openpower/sv/cookbook/pospopcnt.mdwn index 9451f90b7..8421897f8 100644 --- a/openpower/sv/cookbook/pospopcnt.mdwn +++ b/openpower/sv/cookbook/pospopcnt.mdwn @@ -46,31 +46,32 @@ Array popcount is just standard popcount function ([[!wikipedia Hamming weight]]) on an array of values, horizontally, however positional popcount is different (vertical) -pospopcnt + Positional popcount adds up the totals of each bit set to 1 in each bit-position, of an array of input values. -pospopcnt - pospopcnt -pospopcnt -pospopcnt -pospopcnt -pospopcnt + pospopcnt + +pospopcnt -pospopcnt + pospopcnt + + +pospopcnt +pospopcnt + + # Visual representation of the pospopcount algorithm # Walkthrough of the assembler