From: Jacob Lifshay Date: Thu, 20 Apr 2023 00:58:19 +0000 (-0700) Subject: change extsb/h/w to scale based on XLEN rather than extending from a fixed width X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75d9fc62dc34efeba2b395564bd1579ed29a0c14;p=openpower-isa.git change extsb/h/w to scale based on XLEN rather than extending from a fixed width See https://bugs.libre-soc.org/show_bug.cgi?id=1061 --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 28311ce3..8a2c1595 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -223,7 +223,7 @@ X-Form Pseudo-code: - RA <- EXTSXL(RS, 8) + RA <- EXTSXL(RS, XLEN/8) Special Registers Altered: @@ -238,7 +238,7 @@ X-Form Pseudo-code: - RA <- EXTSXL(RS, 16) + RA <- EXTSXL(RS, XLEN/4) Special Registers Altered: @@ -389,7 +389,7 @@ X-Form Pseudo-code: - RA <- EXTSXL(RS, 32) + RA <- EXTSXL(RS, XLEN/2) Special Registers Altered: