projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb0695
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 29 May 2021 17:56:33 +0000
(18:56 +0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 29 May 2021 17:56:33 +0000
(18:56 +0100)
openpower/sv/ldst.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/ldst.mdwn
b/openpower/sv/ldst.mdwn
index f46b0498ea8f0fe64d354219ab35d91e8c549a8d..70ca256f97692f1aaf3706a762ab116a4a0226ba 100644
(file)
--- a/
openpower/sv/ldst.mdwn
+++ b/
openpower/sv/ldst.mdwn
@@
-53,11
+53,11
@@
with the pseudocode below, the immediate can be used to give unit stride or elem
if svctx.ldstmode == elementstride:
# element stride mode
srcbase = ireg[RA]
- offs = i * immed
+ offs = i * immed
# j*immed for a ST
elif svctx.ldstmode == unitstride:
# unit stride mode
srcbase = ireg[RA]
- offs = immed + (i * op_width)
+ offs = immed + (i * op_width)
# j*op_width for ST
elif RA.isvec:
# quirky Vector indexed mode but with an immediate
srcbase = ireg[RA+i]