projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943406e
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 1 Aug 2021 09:14:31 +0000
(10:14 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 1 Aug 2021 09:14:31 +0000
(10:14 +0100)
openpower/sv/svp64/appendix.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/svp64/appendix.mdwn
b/openpower/sv/svp64/appendix.mdwn
index a4e81e2d827d3fa3edcf8dd9190ef6363456e650..168a1995a8fb0698fae2dc993f06fe56023cf0d3 100644
(file)
--- a/
openpower/sv/svp64/appendix.mdwn
+++ b/
openpower/sv/svp64/appendix.mdwn
@@
-741,12
+741,12
@@
For modes:
/// `temp_pred` is a user-visible Vector Condition register
///
/// all input arrays have length `vl`
-
pub fn
reduce( vl, input_vec, temp_vec, input_pred, temp_pred,):
+
def
reduce( vl, input_vec, temp_vec, input_pred, temp_pred,):
for i in 0..vl
temp_pred[i] = input_pred[i];
if temp_pred[i]
temp_vec[i] = input_vec[i]
-
mut
step = 1;
+ step = 1;
while step < vl
step *= 2;
for i in (0..vl).step_by(step)