From: Dmitry Selyutin Date: Wed, 25 Aug 2021 15:03:59 +0000 (+0000) Subject: fixedlogical: switch prtyw to XLEN X-Git-Tag: xlen-bcd~91 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f36bec7c51f4e695a6e9d9c8fa934a313909db76;p=openpower-isa.git fixedlogical: switch prtyw to XLEN --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index a15908f4..2838acfe 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -371,12 +371,12 @@ Pseudo-code: s <- 0 t <- 0 - do i = 0 to 3 + do i = 0 to ((XLEN/8/2)-1) s <- s ^ (RS)[i*8+7] - do i = 4 to 7 + do i = 4 to ((XLEN/8)-1) t <- t ^ (RS)[i*8+7] - RA[0:31] <- [0]*31 || s - RA[32:63] <- [0]*31 || t + RA[0:(XLEN/2)-1] <- [0]*((XLEN/2)-1) || s + RA[XLEN/2:XLEN-1] <- [0]*((XLEN/2)-1) || t Special Registers Altered: