From: Luke Kenneth Casson Leighton Date: Sun, 21 Feb 2021 13:08:32 +0000 (+0000) Subject: add comments for Mode field in SVP64Asm X-Git-Tag: convert-csv-opcode-to-binary~180 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1585547d0c57c264e53f240570dfa534fba238e0;p=soc.git add comments for Mode field in SVP64Asm --- diff --git a/src/soc/sv/trans/svp64.py b/src/soc/sv/trans/svp64.py index 58404b53..63fa38ac 100644 --- 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':