From f36bec7c51f4e695a6e9d9c8fa934a313909db76 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 25 Aug 2021 15:03:59 +0000 Subject: [PATCH] fixedlogical: switch prtyw to XLEN --- openpower/isa/fixedlogical.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.30.2