From: Dmitry Selyutin Date: Wed, 25 Aug 2021 13:03:29 +0000 (+0000) Subject: fixedlogical: switch cntlzwX to XLEN X-Git-Tag: xlen-bcd~95 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=937befe9ca4fea2ac9f2fd32dcf9761e9929d130;p=openpower-isa.git fixedlogical: switch cntlzwX to XLEN --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 069a995c..b170277d 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -257,12 +257,12 @@ X-Form Pseudo-code: - n <- 32 - do while n < 64 + n <- (XLEN/2) + do while n < XLEN if (RS)[n] = 1 then leave n <- n + 1 - RA <- n - 32 + RA <- n - (XLEN/2) Special Registers Altered: