projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9134c31
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 21 Aug 2022 14:29:58 +0000
(15:29 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 21 Aug 2022 14:29:58 +0000
(15:29 +0100)
openpower/sv/ldst.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/ldst.mdwn
b/openpower/sv/ldst.mdwn
index b799bddc9689942d639c45f4d389a99228864973..d4baf3e0b07b76a8f4b3283fd15aa3230994ea22 100644
(file)
--- a/
openpower/sv/ldst.mdwn
+++ b/
openpower/sv/ldst.mdwn
@@
-327,7
+327,10
@@
where `indexed_remap` may be found in [[sv/remap]]:
# sv.ld *RT,RA,*RB with Index REMAP applied to RB
for i in 0..VL-1:
- rb_idx = indexed_remap(i) # normally rb_idx = i
+ if remap.indexed:
+ rb_idx = indexed_remap(i) # remap
+ else:
+ rb_idx = i # use the index as-is
EA = GPR(RA) + GPR(RB+rb_idx)
GPR(RT+i) = MEM(EA, 8)