use proper cast function
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 20 Apr 2023 03:36:09 +0000 (20:36 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 20 Apr 2023 03:36:09 +0000 (20:36 -0700)
openpower/isa/fixedlogical.mdwn

index d3b54bc9ac350d7a4f437451198082be37846891..bc5e3ceeb8f14ee5ed801c0563d52df12da17fe5 100644 (file)
@@ -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: