From 0777dd2fc7f4383b661e70a91d55fedc00f65938 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 16 Apr 2023 12:15:20 +0100 Subject: [PATCH] --- openpower/sv/svp64/appendix.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openpower/sv/svp64/appendix.mdwn b/openpower/sv/svp64/appendix.mdwn index d6afe39a3..03372f171 100644 --- a/openpower/sv/svp64/appendix.mdwn +++ b/openpower/sv/svp64/appendix.mdwn @@ -315,6 +315,13 @@ Pack/Unpack has quirky interactions on [[sv/mv.swizzle]] because it can set a different subvector length for destination, and has a slightly different pseudocode algorithm for Vertical-First Mode. +Ordering is as follows: + +* SVSHAPE srcstep, dststep, ssubstep and dsubstep are advanced sequentially + depending on PACK/UNPACK. +* srcstep and dststep are pushed through REMAP to compute actual Element offsets. +* Swizzle is independently applied to ssubstep and dsubstep + Pack/Unpack is enabled (set up) through [[sv/svstep]]. ## Reduce modes -- 2.30.2