From: lkcl Date: Mon, 13 Jun 2022 22:21:21 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1803 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f274f0b8ecab558747ca8e5078f769c3a7a9b816;p=libreriscv.git --- 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**