From: lkcl Date: Tue, 3 May 2022 23:35:17 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~2495 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44a7d1d8abe8a581b29528dbb40d512b35667a54;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 41db80660..b4d6adfbc 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -207,16 +207,12 @@ another mode selection would be CRs not Ints. mask = m0-3,m4 for i in range(4): - if not mask[i] continue - crregs[BT][i] = lut3(imm, - crregs[BA][i], - crregs[BB][i], - crregs[BC][i]) - + a,b,c = CRs[BA][i], CRs[BB][i], CRs[BC][i]) + if mask[i] CRs[BT][i] = lut3(imm, a, b, c) # int ops -## min/max +## min/m required for the [[sv/av_opcodes]]