From: lkcl Date: Sun, 12 Jun 2022 13:37:56 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1829 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03440fd00d169deda2d6ae30d6e351b0f8979f97;p=libreriscv.git --- diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index d4c141251..f49e567a0 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -162,13 +162,13 @@ For a separate source/dest SUBVL (again, no elwidth overrides): def index_src(): for j in range(SRC_SUBVL): for i in range(VL): - yield i*SRC_SUBVL+j + yield i+VL*j # yield an outer-SUBVL, inner VL loop with DEST SUBVL def index_dest(): for j in range(SUBVL): for i in range(VL): - yield i*SUBVL+j + yield i+VL*j # walk through both source and dest indices simultaneously for src_idx, dst_idx in zip(index_src(), index_dst()):