From bbfd99668dea0bd85c9740c237c637022be18324 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 11 Jul 2022 11:53:06 +0100 Subject: [PATCH] --- openpower/sv/remap.mdwn | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 0b6f1af11..09b5e334c 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -352,17 +352,20 @@ Rough algorithmic form: When `mm=1`: -* bits 0-2 of `rmm` indicate an index selecting mi0-mo1 -* bits 3-4 of `rmm` indicate which SVSHAPE 0-3 shall be updated +* bits 0-2 (MSB0 numbering) of `rmm` indicate an index selecting mi0-mo1 +* bits 3-4 (MSB0 numbering) of `rmm` indicate which SVSHAPE 0-3 shall + be updated * only the selected SVSHAPE is overwritten * only the relevant bits in the REMAP area of SVSTATE are updated * REMAP persistence bit is set. -Example 1: if `rmm`=0b10011 then mo0 is selected and SVSHAPE2 +Example 1: if `rmm`=0b01110 then bits 0-2 (MSB0) are 0b011 and +bits 3-4 are 0b10. thus, mo0 is selected and SVSHAPE2 to be updated. REMAP.SVme[3] will be set high and REMAP.mo0 set to 2 (SVSHAPE2). -Example 2: if `rmm`=0b11100 then mo1 is selected and SVSHAPE3 +Example 2: if `rmm`=0b10011 then bits 0-2 (MSB0) are 0b100 and +bits 3-4 are 0b11. thus, mo1 is selected and SVSHAPE3 to be updated. REMAP.SVme[4] will be set high and REMAP.mo1 set to 3 (SVSHAPE3). -- 2.30.2