From: Luke Kenneth Casson Leighton Date: Sat, 4 Apr 2020 20:42:46 +0000 (+0100) Subject: subscript error X-Git-Tag: convert-csv-opcode-to-binary~2956 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53ca7b3181d3044675eced3f56cc5e532f75d64c;p=libreriscv.git subscript error --- diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 9b1cc00c4..2bb1be20d 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -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