projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de442bc
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 12 Jun 2022 13:37:56 +0000
(14:37 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 12 Jun 2022 13:37:56 +0000
(14:37 +0100)
openpower/sv/mv.swizzle.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/mv.swizzle.mdwn
b/openpower/sv/mv.swizzle.mdwn
index d4c14125129ead573d40a697e60f237ab65ce075..f49e567a06da1f04bb4c0186ebd2ef11c1156124 100644
(file)
--- 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()):