projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e2822
)
(no commit message)
author
lkcl
<lkcl@web>
Mon, 13 Jun 2022 23:59:19 +0000
(
00:59
+0100)
committer
IkiWiki
<ikiwiki.info>
Mon, 13 Jun 2022 23:59:19 +0000
(
00:59
+0100)
openpower/sv/mv.swizzle.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/mv.swizzle.mdwn
b/openpower/sv/mv.swizzle.mdwn
index af8c797a0e0cc51b126910f65d819be7116bd7cd..2d7b3986487282e76d9aaa49c9cf230c46411256 100644
(file)
--- a/
openpower/sv/mv.swizzle.mdwn
+++ b/
openpower/sv/mv.swizzle.mdwn
@@
-44,7
+44,12
@@
to each:
|pixel |R | G | B | A |
|index |0 | 1 | 2 | 3 |
-the options for each Swizzle are:
+In very simplistic terms the relationship between swizzle indices,
+source, and destination is:
+
+ dest[i] = src[swiz[i]]
+
+The options for each Swizzle are:
* 0b000 to indicate "skip". this is equivalent to predicate masking
* 0b001 subvector length end marker (length=4 if not present)