From: Jacob Lifshay Date: Thu, 22 Sep 2022 23:11:51 +0000 (-0700) Subject: apply pseudo-code corrections X-Git-Tag: opf_rfc_ls005_v1~324 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a7a1e54d36ad41adb07588af836ae8bf32af1bd;p=libreriscv.git apply pseudo-code corrections --- diff --git a/openpower/prefix_codes.mdwn b/openpower/prefix_codes.mdwn index 51575195b..f09760179 100644 --- a/openpower/prefix_codes.mdwn +++ b/openpower/prefix_codes.mdwn @@ -68,8 +68,7 @@ Pseudo-code: overflow <- 0 do while in_pos =u 64 then overflow <- 1 @@ -79,8 +78,7 @@ Pseudo-code: output[56 - 8 * out_byte:63 - 8 * out_byte] <- decoded decoded <- 1 out_byte <- out_byte + 1 - # XXX if one? if "imm"? - if one | (out_byte >=u 8) then + if imm | (out_byte >=u 8) then break RT <- output RS <- decoded_in_pos