projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57211e1
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 9 Jul 2022 12:08:55 +0000
(13:08 +0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 9 Jul 2022 12:08:55 +0000
(13:08 +0100)
openpower/sv/remap.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/remap.mdwn
b/openpower/sv/remap.mdwn
index 0ea1cc15c4b6b8d5a7f3eb001f5a76ec859aa8f7..a50538d93425252b0c85bfe2b5a51fa9cda7c76f 100644
(file)
--- a/
openpower/sv/remap.mdwn
+++ b/
openpower/sv/remap.mdwn
@@
-336,13
+336,13
@@
and mo1 uses SVSHAPE1. REMAP.SVme=0b10001, REMAP.mi0=0, REMAP.mo1=1
Rough algorithmic form:
- marray = [mi0, mi1, mi2, mo0, mo1]
- idx = 0
- for bit = 0 to 4:
- if not rmm[bit]: continue
- setup(SVSHAPE[idx])
- SVSTATE{marray[bit]} = idx
- idx = (idx+1) modulo 4
+
marray = [mi0, mi1, mi2, mo0, mo1]
+
idx = 0
+
for bit = 0 to 4:
+
if not rmm[bit]: continue
+
setup(SVSHAPE[idx])
+
SVSTATE{marray[bit]} = idx
+
idx = (idx+1) modulo 4
When `mm=1`: