From: lkcl Date: Tue, 15 Feb 2022 06:02:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3205 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98039b0d271a9b213463860baf575c3cdea978f4;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 269e9bff3..c7821f130 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -322,6 +322,10 @@ uint_xlen_t bmextrev(RA, RB, sh) idx = b << 1 | a return imm[idx] # idx by LSB0 order + dorow(imm, step_i, chunksize): + for j in 0 to 63: + step_o[j] = lut2(imm, step_i[j], step_i[j ^ chunk_size]) + return step_o # grev