From: lkcl Date: Mon, 13 Jun 2022 22:39:13 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1802 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70e282283cafc80374fe868ec6090f8d87f0f617;p=libreriscv.git --- diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 77d457ef3..af8c797a0 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -187,12 +187,16 @@ may be assumed to be 4. def index_dest(): for i in range(VL): for j in range(dst_subvl): + if swiz[j] == 0b000: # skip + continue 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) + set(RT+dst_idx, CONSTANT) + else + move_operation(RT+dst_idx, RA+src_idx+offs) ``` **Effect of Saturation on Vectorised Swizzle**