From: lkcl Date: Fri, 12 Feb 2021 19:14:36 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~200 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1dcf13c417e107eeae33b1644f3c382a715c8043;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 27e957eeb..638e8787d 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -265,6 +265,13 @@ uint_xlen_t bmext(RA, RB, sh) } ``` +bitmask extract with reverse +``` +msb = rb[5:0]; +rev[0:msb] = ra[msb:0]; +rt = ZE(rev[msb:0]); +``` + # grev based on RV bitmanip