From b0ce8f798f403e80f628962fb1b18e6642fc2a00 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 7 Jun 2022 05:12:32 +0100 Subject: [PATCH] --- openpower/sv/remap.mdwn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 198877b22..64ebe1e0b 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -246,22 +246,24 @@ Fields: When `mm=0`: -* bit 0 corresponds to mi0, bit 1 to mi1, bit 2 to mi2, +* mask, like REMAP.SVme, has bit 0 + correspond to mi0, bit 1 to mi1, bit 2 to mi2, bit 3 to mo0 and bit 4 to mi1 * all SVSHAPEs and the REMAP SPR are first reset (initialised to zero) * for each bit set in the 5-bit mask, in order, the first as-yet-unset SVSHAPE will be updated with the other operands in the instruction, and the REMAP SPR set. -* If all 5 bits of mask are set then both mi0 and mo1 use SVSHSAPE0. +* If all 5 bits of mask are set then both mi0 and mo1 use SVSHAPE0. Example 1: if mask=0b00110 then SVSHAPE0 and SVSHAPE1 are set up, and the REMAP SPR set so that mi1 uses SVSHAPE0 and mi2 -uses mi2. +uses mi2. REMAP.SVme is also set to 0b00110, REMAP.mi1=0 +(SVSHAPE0) and REMAP.mi2=1 (SVSHAPE1) Example 2: if mask=0b10001 then again SVSHAPE0 and SVSHAPE1 are set up, but the REMAP SPR is set so that mi0 uses SVSHAPE0 -and mo1 uses SVSHAPE1. +and mo1 uses SVSHAPE1. REMAP.SVme=0b10001, REMAP.mi0=0, REMAP.mo1=1 When `mm=1`: -- 2.30.2