From: lkcl Date: Wed, 19 Apr 2023 07:45:24 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9676694a8b8d593094d3a70d6903d123afb2bf8a;p=libreriscv.git --- diff --git a/openpower/sv/rfc/ls005.mdwn b/openpower/sv/rfc/ls005.mdwn index 323a05f32..648ef5750 100644 --- a/openpower/sv/rfc/ls005.mdwn +++ b/openpower/sv/rfc/ls005.mdwn @@ -168,6 +168,10 @@ Here as the instruction's intent is to count bytes, and RA contains on a per-byte basis a SIMD-style count of each byte's 1s, it becomes possible to simply count less bytes. +Should it be more useful to redefine popcntb in terms of always returning +eight results? For example `sv.popcntb/w=16` to return 8 2-bit counts of +the number of bits in each 2-bit group in RS? + ## no modification needed, but function changes For the `addi` instruction there is no apparent change: