From 03440fd00d169deda2d6ae30d6e351b0f8979f97 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 12 Jun 2022 14:37:56 +0100 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()): -- 2.30.2