grr annoying recurrence of svshape bug, mscale starts with 6 bits
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Sep 2022 22:15:23 +0000 (23:15 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Sep 2022 22:15:23 +0000 (23:15 +0100)
openpower/isa/simplev.mdwn

index 3a8387c0ae06938f3cc047dfc8896e54cf822128..e2b68ab32c7266d61a28f1aaa880d7151fa83347 100644 (file)
@@ -105,7 +105,7 @@ Pseudo-code:
 
     # for convenience, VL to be calculated and stored in SVSTATE
     vlen <- [0] * 7
-    mscale[0:6] <- 0b0000001 # for scaling MAXVL
+    mscale[0:5] <- 0b000001 # for scaling MAXVL
     itercount[0:6] <- [0] * 7
     SVSTATE[0:31] <- [0] * 32
     # only overwrite REMAP if "persistence" is zero