From 4ae4bf5fe65d4766d8e8a158997948344fcbf6a0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 20 Apr 2023 20:15:48 -0700 Subject: [PATCH] rewrite all uses of XLCASTU/XLCASTS --- openpower/isa/fixedlogical.mdwn | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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: -- 2.30.2