From e75aaa686e3f7c5fb348b0db8d0aac3d1c382b00 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 5 Jun 2022 15:22:54 +0100 Subject: [PATCH] --- openpower/sv/shape_table_format.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/sv/shape_table_format.mdwn b/openpower/sv/shape_table_format.mdwn index 968a19a23..eace11e38 100644 --- a/openpower/sv/shape_table_format.mdwn +++ b/openpower/sv/shape_table_format.mdwn @@ -139,7 +139,7 @@ for i in 0..VL-1: Matrix-style reordering still applies to the indices, except limited to up to 2 Dimensions (X,Y). Ordering is therefore limited to (X,Y) or (Y,X). Only one dimension may optionally be skipped. Inversion of either -X or Y or both is possible. Pseudocode for Indexed Mode (without elwidth +X or Y or both is possible. Pseudocode for Indexed Mode (including elwidth overrides) may be written in terms of Matrix Mode, specifically purposed to ensure that the 3rd dimension (Z) has no effect: @@ -149,7 +149,7 @@ def index_remap(ISHAPE, i): MSHAPE.invxyz = 0b0 || ISHAPE.invxy MSHAPE.xdimsz = ISHAPE.xdimsz MSHAPE.ydimsz = ISHAPE.ydimsz - MSHAPE.zdimsz = MAXVL-1 + MSHAPE.zdimsz = MAXVL-1 # dimensions are inclusive if ISHAPE.permute = 0b110 # 0,1 MSHAPE.permute = 0b000 # 0,1,2 if ISHAPE.permute = 0b111 # 1,0 -- 2.30.2