fixedload: switch lbzx to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Mon, 30 Aug 2021 08:41:49 +0000 (08:41 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 31 Aug 2021 11:13:18 +0000 (12:13 +0100)
openpower/isa/fixedload.mdwn

index 1a807c410f727ec00858211d61443272a9fca813..607a247a1492a3844fd2defebbcac2a9e1494323 100644 (file)
@@ -52,7 +52,7 @@ Pseudo-code:
 
     b <- (RA|0)
     EA <- b + (RB)
-    RT <- [0] * 56 || MEM(EA, 1)
+    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
 
 Special Registers Altered: