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

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