From 2842647a76739a51253a9ab44386c363c104c563 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 25 Aug 2021 15:04:38 +0000 Subject: [PATCH] fixedlogical: switch extsw to XLEN --- openpower/isa/fixedlogical.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 2838acfe..3118ad7d 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -391,9 +391,9 @@ X-Form Pseudo-code: - s <- (RS)[32] - RA[32:63] <- (RS)[32:63] - RA[0:31] <- [s]*32 + s <- (RS)[XLEN/2] + RA[XLEN/2:XLEN-1] <- (RS)[XLEN/2:XLEN-1] + RA[0:(XLEN/2)-1] <- [s]*(XLEN/2) Special Registers Altered: -- 2.30.2