Added brackets for pifixedloadshift.mdwm file
authorShriya Sharma <shriya@redsemiconductor.com>
Tue, 21 Nov 2023 12:25:16 +0000 (12:25 +0000)
committerShriya Sharma <shriya@redsemiconductor.com>
Tue, 21 Nov 2023 12:25:16 +0000 (12:25 +0000)
openpower/isa/pifixedloadshift.mdwn

index e4eadda88b9d80d68657cec41c7edc77f9deae4b..afc5a6d311fcf53726822a27f6954bde32cde254 100644 (file)
@@ -133,7 +133,7 @@ Pseudo-code:
 
     EA <- (RA)
     RT <- EXTS(MEM(EA, 4))
-    RA <- (RA) + (RB)<<(SH+1)
+    RA <- (RA) + ((RB)<<(SH+1))
 
 Description:
 
@@ -163,7 +163,7 @@ Pseudo-code:
 
     EA <- (RA)
     RT <- MEM(EA, 8)
-    RA <- (RA) + (RB)<<(SH+1)
+    RA <- (RA) + ((RB)<<(SH+1))
 
 Description: