From 8e28923784e62ca21e06544e4762e8b823fcd48b 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