From 0ca9d0d8af074a1359dbdbe4050527080b2f4cf6 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 5 May 2023 22:13:58 +0100 Subject: [PATCH] --- openpower/sv/svstep.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openpower/sv/svstep.mdwn b/openpower/sv/svstep.mdwn index fb313dbcf..87a3c6b48 100644 --- a/openpower/sv/svstep.mdwn +++ b/openpower/sv/svstep.mdwn @@ -132,6 +132,18 @@ is perfectly possible, as is calling of functions, however SVSTATE be stored on the stack in order to achieve this benefit not normally found in Vector ISAs. +**Use of svstep with sub-vectors** + +Incrementing and iteration through subvector state ssubstep and dsubstep is +possible with `sv.svstep/vecN` where N may be 2/3/4. However it is necessary +to use the exact same Sub-Vector qualifier on any Prefixed +instructions, within any given Vertical-First loop. Also valid +is not specifying a Sub-vector +qualifier at all, but it is critically important to note that +operations will be repeated. For example if `sv.svstep/vec2` +is used on `sv.addi` then each Vector element operation is +repeated twice. + ------------- \newpage{} -- 2.30.2