From a8ba77d6309ace224be6c91f6d3f0de442b42ad0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 19 Apr 2023 20:36:09 -0700 Subject: [PATCH] use proper cast function --- openpower/isa/fixedlogical.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index d3b54bc9..bc5e3cee 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -278,7 +278,7 @@ Pseudo-code: if (RS)[XLEN-1-n] = 0b1 then leave n <- n + 1 - RA <- EXTZXL(n) + RA <- XLCASTU(n) Special Registers Altered: @@ -447,7 +447,7 @@ Pseudo-code: if (RS)[XLEN-1-n] = 0b1 then leave n <- n + 1 - RA <- EXTZXL(n) + RA <- XLCASTU(n) Special Registers Altered: -- 2.30.2