From: Dmitry Selyutin Date: Wed, 25 Aug 2021 15:09:14 +0000 (+0000) Subject: fixedlogical: switch cnttzd to XLEN X-Git-Tag: xlen-bcd~65 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c274bcd856a123114a4a0a4ee86271e00989a094;p=openpower-isa.git fixedlogical: switch cnttzd to XLEN --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index bb692d73..c301678c 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -447,8 +447,8 @@ X-Form Pseudo-code: n <- 0 - do while n < 64 - if (RS)[63-n] = 0b1 then + do while n < XLEN + if (RS)[XLEN-1-n] = 0b1 then leave n <- n + 1 RA <- EXTZ64(n)