projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c233570
)
add comments for Mode field in SVP64Asm
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 21 Feb 2021 13:08:32 +0000
(13:08 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 21 Feb 2021 13:08:39 +0000
(13:08 +0000)
src/soc/sv/trans/svp64.py
patch
|
blob
|
history
diff --git
a/src/soc/sv/trans/svp64.py
b/src/soc/sv/trans/svp64.py
index 58404b53424881e68296585267a425c89ee2d5ba..63fa38ac07967f2ff65c3da23bf5784934699371 100644
(file)
--- a/
src/soc/sv/trans/svp64.py
+++ b/
src/soc/sv/trans/svp64.py
@@
-223,8
+223,11
@@
class SVP64Asm:
field = int(field[0]) # actual register number
print (" ", regmode, field, end=" ")
+ # see Mode field https://libre-soc.org/openpower/sv/svp64/
# XXX TODO: the following is a bit of a laborious repeated
# mess, which could (and should) easily be parameterised.
+ # XXX also TODO: the LD/ST modes which are different
+ # https://libre-soc.org/openpower/sv/ldst/
# encode SV-GPR field into extra, v3.0field
if regtype == 'GPR':