From 44a7d1d8abe8a581b29528dbb40d512b35667a54 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 4 May 2022 00:35:17 +0100 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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]] -- 2.30.2