From: lkcl Date: Sat, 9 Jul 2022 12:08:55 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1230 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2795eee9df85ac9c4400c6c3c71a22e53457581a;p=libreriscv.git --- diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 0ea1cc15c..a50538d93 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -336,13 +336,13 @@ and mo1 uses SVSHAPE1. REMAP.SVme=0b10001, REMAP.mi0=0, REMAP.mo1=1 Rough algorithmic form: - marray = [mi0, mi1, mi2, mo0, mo1] - idx = 0 - for bit = 0 to 4: - if not rmm[bit]: continue - setup(SVSHAPE[idx]) - SVSTATE{marray[bit]} = idx - idx = (idx+1) modulo 4 + marray = [mi0, mi1, mi2, mo0, mo1] + idx = 0 + for bit = 0 to 4: + if not rmm[bit]: continue + setup(SVSHAPE[idx]) + SVSTATE{marray[bit]} = idx + idx = (idx+1) modulo 4 When `mm=1`: