From 2795eee9df85ac9c4400c6c3c71a22e53457581a Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 9 Jul 2022 13:08:55 +0100 Subject: [PATCH] --- openpower/sv/remap.mdwn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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`: -- 2.30.2