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

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