From: lkcl Date: Tue, 21 Nov 2023 15:56:09 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2008c0c85bec11e0450658684f4fe12a02e3302;p=libreriscv.git --- diff --git a/openpower/sv/cookbook/pospopcnt.mdwn b/openpower/sv/cookbook/pospopcnt.mdwn index 1855abe11..53767c25e 100644 --- a/openpower/sv/cookbook/pospopcnt.mdwn +++ b/openpower/sv/cookbook/pospopcnt.mdwn @@ -19,7 +19,7 @@ func count8safe(counts *[8]int, buf []uint8) { } } ``` -Array popcount is just standard popcount function on an array of values whereas positional popcount adds up the totals of each bit set to 1 in each bit-position, of an array of input values. +Array popcount is just standard popcount function ([[!wikipedia Hamming weight]]) on an array of values whereas positional popcount adds up the totals of each bit set to 1 in each bit-position, of an array of input values. pospopcnt