From f274f0b8ecab558747ca8e5078f769c3a7a9b816 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 13 Jun 2022 23:21:21 +0100 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index af419bf8b..77d457ef3 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -188,6 +188,11 @@ may be assumed to be 4. for i in range(VL): for j in range(dst_subvl): yield i*dst_subvl+j + + # walk through both source and dest indices simultaneously + for (src_idx, offs), dst_idx in zip(index_src(), index_dst()): + if offs == CONSTANT: + move_operation(RT+dst_idx, RA+src_idx+offs) ``` **Effect of Saturation on Vectorised Swizzle** -- 2.30.2