From: lkcl Date: Thu, 23 Jun 2022 19:49:56 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1558 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efdce9980d8657ac20e22baa094d1ae9980f34de;p=libreriscv.git --- 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,