From efdce9980d8657ac20e22baa094d1ae9980f34de Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 23 Jun 2022 20:49:56 +0100 Subject: [PATCH] --- openpower/sv/svstep.mdwn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openpower/sv/svstep.mdwn b/openpower/sv/svstep.mdwn index 2ccae5d7f..99c2b10f8 100644 --- a/openpower/sv/svstep.mdwn +++ b/openpower/sv/svstep.mdwn @@ -28,7 +28,7 @@ Instruction format: svstep. RT,SVi,vf (Rc=1) When `vf=1` then stepping occurs. When `vf=0` svstep may be used -to enquire about the REMAP Schedule state, without altering internal +to enquire about the REMAP Schedule, without altering internal state. If `SVi=0, Rc=0, vf=0` this instruction is a `nop`. When `SVi` is 1-4 the REMAP Schedule for a given SVSHAPE may be @@ -38,10 +38,15 @@ through to SVi=4 selects SVSHAPE3. To obtain the full set of possible computed element indices use `svstep RT.v,SVI,1` which will store all computed element indices, starting from RT. If Rc=1 then a co-result Vector of CR Fields -will also be returned, comprising the "end-points" of each of the inner +will also be returned, comprising the "loop end-points" of each of the inner loops when either Matrix Mode or DCT/FFT is set. In other words, for example, when the `xdim` inner loop reaches the end and on the next iteration it will begin again at zero, the CR Field `EQ` will be set. +With a maximum of three loops within both Matrix and DCT/FFT Modes, +the CR Field's EQ bit will be set at the end of the first inner loop, +the LE bit for the second, the GT bit for the outermost loop and the +SO bit set on the very last element, when all loops reach their maximum +extent. *Programmer's note (1): VL in some situations, particularly larger Matrices, may exceed 64, -- 2.30.2