From 98039b0d271a9b213463860baf575c3cdea978f4 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 15 Feb 2022 06:02:08 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2