projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9127940
)
(no commit message)
author
lkcl
<lkcl@web>
Mon, 13 Jun 2022 22:21:21 +0000
(23:21 +0100)
committer
IkiWiki
<ikiwiki.info>
Mon, 13 Jun 2022 22:21:21 +0000
(23:21 +0100)
openpower/sv/mv.swizzle.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/mv.swizzle.mdwn
b/openpower/sv/mv.swizzle.mdwn
index af419bf8b507d8658d54f7042eea1e3469eaf652..77d457ef38a08e2d814f212dfc099282b1f3cfaf 100644
(file)
--- 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**