From: lkcl Date: Tue, 21 Nov 2023 15:46:03 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6226e29b7bdd8d6c7fa7d2ff6e55a00df782a5bb;p=libreriscv.git --- diff --git a/openpower/sv/cookbook/pospopcnt.mdwn b/openpower/sv/cookbook/pospopcnt.mdwn index dec0fb422..d6d43a2aa 100644 --- a/openpower/sv/cookbook/pospopcnt.mdwn +++ b/openpower/sv/cookbook/pospopcnt.mdwn @@ -7,7 +7,7 @@ Positional popcount in optimised assembler is typically done on SIMD ISAs in around 500 lines. Power ISA thanks to `bpermd` can be much more efficient: with SVP64 even more so. The reference implementation showing the concept is below, and it adds up the totals of each bit set to 1 in each bit-position, -of an array of input alues. +of an array of input values. ``` // Copyright (c) 2020 Robert Clausecker