From: Andrey Miroshnikov Date: Mon, 6 Nov 2023 16:03:25 +0000 (+0000) Subject: Added table borders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0f633cf4c971a0719859dcdd33ef170eb5f408a;p=libreriscv.git Added table borders --- diff --git a/openpower/sv/cookbook/remap_matrix.mdwn b/openpower/sv/cookbook/remap_matrix.mdwn index 4be850ff1..5defbcdd0 100644 --- a/openpower/sv/cookbook/remap_matrix.mdwn +++ b/openpower/sv/cookbook/remap_matrix.mdwn @@ -109,19 +109,19 @@ For the algorithm, assign indeces to matrices as follows: Index list: ``` - Mat X | Mat Y | Mat Z - 0 | 0 | 0 - 1 | 2 | 0 - 2 | 4 | 0 - 0 | 1 | 1 - 1 | 3 | 1 - 2 | 5 | 1 - 3 | 0 | 2 - 4 | 2 | 2 - 5 | 4 | 2 - 3 | 1 | 3 - 4 | 3 | 3 - 5 | 5 | 3 + | Mat X | Mat Y | Mat Z | + | 0 | 0 | 0 | + | 1 | 2 | 0 | + | 2 | 4 | 0 | + | 0 | 1 | 1 | + | 1 | 3 | 1 | + | 2 | 5 | 1 | + | 3 | 0 | 2 | + | 4 | 2 | 2 | + | 5 | 4 | 2 | + | 3 | 1 | 3 | + | 4 | 3 | 3 | + | 5 | 5 | 3 | ``` @@ -148,26 +148,26 @@ The code: Index list: ``` - Mat X | Mat Y | Mat Z - 0 | 0 | 0 - 0 | 1 | 1 - 3 | 0 | 2 - 3 | 1 | 3 - 1 | 2 | 0 - 1 | 3 | 1 - 4 | 2 | 2 - 4 | 3 | 3 - 2 | 4 | 0 - 2 | 5 | 1 - 5 | 4 | 2 - 5 | 5 | 3 + | Mat X | Mat Y | Mat Z | + | 0 | 0 | 0 | + | 0 | 1 | 1 | + | 3 | 0 | 2 | + | 3 | 1 | 3 | + | 1 | 2 | 0 | + | 1 | 3 | 1 | + | 4 | 2 | 2 | + | 4 | 3 | 3 | + | 2 | 4 | 0 | + | 2 | 5 | 1 | + | 5 | 4 | 2 | + | 5 | 5 | 3 | ``` The index for the result matrix changes with every operation, and thus the consecutive multiply-add instruction doesn't depend on the previous write register. -Outer and inner product indeces side-by-side: +Outer and inner product indices side-by-side: ``` | Outer Product | Inner Product |