From: lkcl Date: Fri, 24 Jun 2022 11:33:43 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1549 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b48f9a5174c0884a67f3ecf5a4793f3956993f3d;p=libreriscv.git --- diff --git a/openpower/sv/svstep.mdwn b/openpower/sv/svstep.mdwn index 8e179abe5..e8ac7f61a 100644 --- a/openpower/sv/svstep.mdwn +++ b/openpower/sv/svstep.mdwn @@ -27,14 +27,20 @@ Instruction format: svstep RT,SVi,vf (Rc=0) svstep. RT,SVi,vf (Rc=1) +# Description + When `vf=1` then stepping occurs. When `vf=0` svstep may be used 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 +When `SVi` is 1-4 the REMAP Schedule for a given SVSHAPE may be returned in `RT`. SVi=1 selects SVSHAPE0 current state, through to SVi=4 selects SVSHAPE3. +* Vertical-First Mode will return the current index + (and move to the next if `vf=1`) +* Horizontal-First Mode can be used to return all indices + 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