fixedlogical: switch andis. to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Wed, 25 Aug 2021 12:58:37 +0000 (12:58 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Aug 2021 12:08:41 +0000 (13:08 +0100)
openpower/isa/fixedlogical.mdwn

index baf2fcb988a19fa5253e96f0d221437686aca29e..d0965130daa9cca0b2b6ae308be53a2c046f2712 100644 (file)
@@ -46,7 +46,7 @@ D-Form
 
 Pseudo-code:
 
-    RA <- (RS) & ([0]*32 || UI || [0]*16)
+    RA <- (RS) & ([0]*(XLEN-32) || UI || [0]*16)
 
 Special Registers Altered: