From: Jacob Lifshay Date: Fri, 21 Apr 2023 03:15:48 +0000 (-0700) Subject: rewrite all uses of XLCASTU/XLCASTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4b43d331d625b4d22dd4b718072259cdfc6f4aa;p=openpower-isa.git rewrite all uses of XLCASTU/XLCASTS --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index bc5e3cee..c38dd04d 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -18,7 +18,7 @@ D-Form Pseudo-code: - RA <- (RS) & XLCASTU(UI) + RA <- (RS) & EXTZ(UI) Special Registers Altered: @@ -32,7 +32,7 @@ D-Form Pseudo-code: - RA <- (RS) | XLCASTU(UI) + RA <- (RS) | EXTZ(UI) Special Registers Altered: @@ -46,7 +46,7 @@ D-Form Pseudo-code: - RA <- (RS) & XLCASTU(UI || [0]*16) + RA <- (RS) & EXTZ(UI || [0]*16) Special Registers Altered: @@ -60,7 +60,7 @@ D-Form Pseudo-code: - RA <- (RS) | XLCASTU(UI || [0]*16) + RA <- (RS) | EXTZ(UI || [0]*16) Special Registers Altered: @@ -74,7 +74,7 @@ D-Form Pseudo-code: - RA <- (RS) ^ XLCASTU(UI || [0]*16) + RA <- (RS) ^ EXTZ(UI || [0]*16) Special Registers Altered: @@ -88,7 +88,7 @@ D-Form Pseudo-code: - RA <- (RS) ^ XLCASTU(UI) + RA <- (RS) ^ EXTZ(UI) Special Registers Altered: @@ -278,7 +278,7 @@ Pseudo-code: if (RS)[XLEN-1-n] = 0b1 then leave n <- n + 1 - RA <- XLCASTU(n) + RA <- EXTZ(n) Special Registers Altered: @@ -447,7 +447,7 @@ Pseudo-code: if (RS)[XLEN-1-n] = 0b1 then leave n <- n + 1 - RA <- XLCASTU(n) + RA <- EXTZ(n) Special Registers Altered: