add comments for Mode field in SVP64Asm
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 21 Feb 2021 13:08:32 +0000 (13:08 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 21 Feb 2021 13:08:39 +0000 (13:08 +0000)
src/soc/sv/trans/svp64.py

index 58404b53424881e68296585267a425c89ee2d5ba..63fa38ac07967f2ff65c3da23bf5784934699371 100644 (file)
@@ -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':