From: Luke Kenneth Casson Leighton Date: Thu, 17 Mar 2022 06:14:16 +0000 (+0000) Subject: revert bitmask changes X-Git-Tag: opf_rfc_ls005_v1~3040 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86bae2eca646667b31133825a6a1e8cbc7fd6840;p=libreriscv.git revert bitmask changes --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 3cfe2f6d8..468c5cca5 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -284,19 +284,22 @@ def MASK(x, y): uint_xlen_t bmset(RS, RB, sh) { int shamt = RB & (XLEN - 1); - return RS | MASK(shamt, sh) + mask = (2<