From 30be7bc693a9f3ba8dc179eb8b3eff28639257c8 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Thu, 9 Nov 2023 19:28:41 +0000 Subject: [PATCH] Update appendix remapyield section --- openpower/sv/cookbook/remap_matrix.mdwn | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/openpower/sv/cookbook/remap_matrix.mdwn b/openpower/sv/cookbook/remap_matrix.mdwn index 71ecad5f1..ad2302f1f 100644 --- a/openpower/sv/cookbook/remap_matrix.mdwn +++ b/openpower/sv/cookbook/remap_matrix.mdwn @@ -409,7 +409,7 @@ This table was drawn up using the `remapyield.py` code found The xdim, ydim, and zdim were set to match the values specified in the svshape instruction for the above matrix multiply example. -`x`, 'y`, and `z` are iterators for the three loops, with a range between 0 and +`x`, `y`, and `z` are iterators for the three loops, with a range between 0 and `SVxd-1`, `SVyd-1`, `SVzd-1` respectively. For the above `svshape` instruction example: @@ -437,11 +437,7 @@ index | x | y | z | x_end) | y_end) | z_end) 11 | 1 | 1 | 2 | T | T | T ``` -If the `x`, `y`, and `z` sequences are compared with the inner product index -table, there are some resemblances. Swapping the `x` and `y` (permute=0b10) -shows that matrix X indices correspond to `y`, matrix Y indices correspond to -`x` (if the following equation used: `x+z*z_end`), and matrix Z indices -correspond to `z`. +These sequences correspond to the row/column indices in the table above. [[!tag svp64_cookbook ]] -- 2.30.2