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

index df059ca6532a0342559ab51028e71d59aa2fe1c7..bd4626c5778e7ddcced624b0e6a4ccd4f59f4101 100644 (file)
@@ -116,7 +116,7 @@ Pseudo-code:
 
     b <- (RA|0)
     EA <- b + (RB)
-    RT <- [0] * 48 || MEM(EA, 2)
+    RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
 
 Special Registers Altered: