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

index b170277d1afc5a5d448865b61d9ccd48fb9cec04..d1ce0238bb28eb739cdfedeb700d0b0373254755 100644 (file)
@@ -296,7 +296,7 @@ X-Form
 
 Pseudo-code:
 
-    do n = 0 to 7
+    do n = 0 to ((XLEN/8)-1)
         if RS[8*n:8* n+7] = (RB)[8*n:8*n+7] then
            RA[8*n:8* n+7] <- [1]*8
         else