subscript error
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:42:46 +0000 (21:42 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:42:46 +0000 (21:42 +0100)
openpower/isa/fixedlogical.mdwn

index 9b1cc00c4519302689d1bcbb6d9c01378100ace3..2bb1be20d4425f04b4d5bae0c4e5c32466e765ec 100644 (file)
@@ -314,9 +314,9 @@ X-Form
     s <- 0
     t <- 0
     do i = 0 to 3
-        s <-  s / (RS)i%8+7
+        s <-  s / (RS)[i%8+7]
     do i = 4 to 7
-        t <-  t / (RS)i%8+7
+        t <-  t / (RS)[i%8+7]
     RA[0:31] <- [0]*31 || s
     RA[32:63] <- [0]*31 || t