projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00fcd3
)
(no commit message)
author
lkcl
<lkcl@web>
Fri, 19 Feb 2021 19:53:17 +0000
(19:53 +0000)
committer
IkiWiki
<ikiwiki.info>
Fri, 19 Feb 2021 19:53:17 +0000
(19:53 +0000)
openpower/sv/vector_ops.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/vector_ops.mdwn
b/openpower/sv/vector_ops.mdwn
index 6d0f7ffbe2a54e73180e5641eebfa3ef811b331a..4eae60114c48c687f0d8683977a0eed29bf41aa1 100644
(file)
--- a/
openpower/sv/vector_ops.mdwn
+++ b/
openpower/sv/vector_ops.mdwn
@@
-278,7
+278,7
@@
Stackoverflow algorithm `((P|G)+G)^P` works on the cumulated bits of P and G fro
Get G[id] = C[id] > radix -1
Get P[id] = C[id] == radix-1
Join all P[id] together, likewise G[id]
- Compute newC = ((P|G)+G)^P
<< 1
+ Compute newC = ((P|G)+G)^P
result[id] = (C[id] + newC[id]) % radix
```