projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5abe317
)
whoops missed modulo
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 5 Apr 2020 12:14:37 +0000
(13:14 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 5 Apr 2020 12:14:37 +0000
(13:14 +0100)
openpower/isa/stringldst.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/stringldst.mdwn
b/openpower/isa/stringldst.mdwn
index 4ded1cd3ab70b2ca3f96267f9a0556919da52be4..c1f906947363fc240701cc1017fb70ca5e8bc1e7 100644
(file)
--- a/
openpower/isa/stringldst.mdwn
+++ b/
openpower/isa/stringldst.mdwn
@@
-11,7
+11,7
@@
X-Form
i <- 32
do while n > 0
if i = 32 then
- r <-
r + 1 (mod 32)
+ r <-
(r + 1) % 32
GPR(r) <- 0
GPR(r)[i:i+7] <- MEM(EA, 1)
i <- i + 8